aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..392d48a
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,13 @@
+version: '3'
+services:
+ app:
+ container_name: which-api
+ restart: always
+ build: .
+ ports:
+ - '3030:3030'
+ links:
+ - db
+ db:
+ container_name: mongo
+ image: mongo