diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-21 22:38:52 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-21 22:38:52 +0100 |
commit | f2f734194c03dfff2024cf417c502515ddb7a855 (patch) | |
tree | 745910a6206be1243187523bef355849dda0da77 /API/docker-compose.yml | |
parent | abc7f067ff20bc2bd07d9236c30055549481547c (diff) | |
download | Smarker-f2f734194c03dfff2024cf417c502515ddb7a855.tar.gz Smarker-f2f734194c03dfff2024cf417c502515ddb7a855.zip |
Added running as an API
Diffstat (limited to 'API/docker-compose.yml')
-rw-r--r-- | API/docker-compose.yml | 23 |
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 |