summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..5904174
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,16 @@
+version: '3'
+
+services:
+ api:
+ image: williamyeh/json-server:latest
+ command: --watch -p 80 /data/db.json
+ volumes:
+ - ./db.json:/data/db.json
+ ports:
+ - "5678:80"
+ somebook:
+ build:
+ context: .
+ image: registry.digitalocean.com/jan-systems-registry/somebook:latest
+ ports:
+ - "1234:8080"