From 3b342444039c411473e54c8e6bc07fabe36970fb Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Mon, 7 Nov 2022 21:36:01 -0600 Subject: [PATCH] add dev compose file now that main one is for swarm --- docker-compose.dev.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker-compose.dev.yml diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml new file mode 100644 index 0000000..3935ac6 --- /dev/null +++ b/docker-compose.dev.yml @@ -0,0 +1,33 @@ +version: "3.8" + +services: + guppe: + build: . + restart: always + ports: + - 8085:8085 + env_file: '.env' + environment: + DB_URL: 'mongodb://mongodb:27017' + depends_on: + - mongodb + volumes: + # localdev certs + - ./certs:/usr/src/guppe/certs + logging: + driver: local + options: + max-size: '10m' + + mongodb: + image: mongo:4.2 + restart: always + volumes: + - mongo-data:/data/db + logging: + driver: local + options: + max-size: '10m' + +volumes: + mongo-data: