-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 1.12 KB
/
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
37
38
39
40
41
42
43
version: "2"
services:
mongodb:
image: mongo:latest
container_name: mongo-db
restart: always
command: mongod --smallfiles --oplogSize 128
networks:
- mongodb
expose:
- 27017
volumes:
- mongo-db:/data/db
- mongo-db-dump:/dump
scrumpoker:
image: scrum-poker:latest
container_name: poker-app
restart: always
networks:
- mongodb
ports:
- 3000:8080
environment:
- MONGO_URL=mongodb://mongodb:27017/poker
- ROOT_URL=http://localhost
- MAIL_URL=smtp://user:[email protected]:25/
- MAIL_FROM='Example Support <[email protected]>'
# The following is needed when using multiple instances of the meteor app!
# - MONGO_OPLOG_URL=mongodb://<username>:<password>@<mongoDbURL>/local?authSource=admin&replicaSet=rsPoker
depends_on:
- mongodb
volumes:
mongo-db:
driver: local
mongo-db-dump:
driver: local
networks:
mongodb:
driver: bridge