summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 15:06:51 +0200
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 15:06:51 +0200
commit56be711ee89a86c7ba7c01a361163823b1056e16 (patch)
treedddad6d69e02e93d58b6a19474b61a5a7c4fc0b8 /docker-compose.yml
parent0064b61e4b93285d006786ca0d964ecaaf677c29 (diff)
Prepare for release
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"