summaryrefslogtreecommitdiffstats
path: root/API/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'API/docker-compose.yml')
-rw-r--r--API/docker-compose.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/API/docker-compose.yml b/API/docker-compose.yml
new file mode 100644
index 0000000..19d9d3c
--- /dev/null
+++ b/API/docker-compose.yml
@@ -0,0 +1,23 @@
+version: '3'
+
+services:
+ smarker:
+ build:
+ context: ..
+ dockerfile: Dockerfile
+ image: smarker
+ smarker-api:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ image: smarker-api
+ ports:
+ - "6970:6970"
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ - ./.uploads/:/API/.uploads/
+ - /tmp/:/tmp/
+ environment:
+ - UPLOADS_DIR=<your full uploads directory path here>
+ depends_on:
+ - smarker \ No newline at end of file