-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
22 lines (22 loc) · 780 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
web:
build: ./app
ports:
- "5000:5000"
# don't change the mount _destination_ of modules (syntax: "source:destination")
volumes:
# - ./app:/app # only on dev
# the shared data folder
- /Users/valentinarho/Downloads/om-integration/data:/data
# the logs folder
- /Users/valentinarho/Downloads/om-integration/logs:/logs
# - /Users/valentinarho/Downloads/om-integration/nltk_data:/usr/share/nltk_data
links:
- db
db:
image: mongo:3
volumes:
- /Users/valentinarho/Downloads/om-integration/db_data/:/data/db
- /Users/valentinarho/Downloads/om-integration/db_config/:/data/configdb
# uncomment to map the mongodb port to the external machine port and access the db directly on host_machine:port
ports:
- "27017:27017/tcp"