diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5d6813c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,24 @@ +version: "3.7" +services: + + mongo: + image: mongo:4 + networks: + - acheronet + restart: always + + caronte: + build: + context: . + dockerfile: Dockerfile + image: caronte + ports: + - "80:3333" + depends_on: + - mongo + networks: + - acheronet + command: ./caronte -mongo-host mongo -mongo-port 27017 + +networks: + acheronet: |