-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (35 loc) · 910 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
version: '3'
services:
web:
container_name: 'jakal-app'
build: .
networks:
- gold-net
ports:
- 3100:8085
environment:
- NODE_ENV=production
- PORT=8085
- DB_HOST=mongo-bongo
- PERIOD_SUGGEST_START_DAY=25
- PERIOD_VOTING_START_DAY=10
- PERIOD_DISPLAY_START_DAY=15
- SECRETS_PATH=/opt/jakal-web/secrets/secret.properties.json
volumes:
- /opt/jakal-web/secrets:/opt/jakal-web/secrets
mongodb:
image: mongo:latest
container_name: "mongo-bongo"
networks:
- gold-net
# environment:
# - MONGO_DATA_DIR=/data/db
# - MONGO_LOG_DIR=/dev/null
volumes:
- /data/db:/data/db
ports:
- 27017:27017
# command: mongod --smallfiles --logpath=/dev/null # --quiet
networks:
gold-net: