add dev compose file now that main one is for swarm
This commit is contained in:
parent
c38f40158b
commit
3b34244403
1 changed files with 33 additions and 0 deletions
33
docker-compose.dev.yml
Normal file
33
docker-compose.dev.yml
Normal file
|
@ -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:
|
Loading…
Reference in a new issue