-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (56 loc) · 1.16 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '3.11'
services:
api:
build: src/api/
# image: src/api/
# context: .
# dockerfile: Dockerfile
container_name: api
# restart: unless-stopped
ports:
- 5000:5000
depends_on:
- mongodb_container
# - extractor
- model
# - provider
# environment:
# - DB=mongodb://mongodb:27017
# tty: true
extractor:
build: src/extractor
# image: src/extractor
container_name: extractor
# ports:
# -
depends_on:
- mongodb_container
model:
build: src/model
container_name: model
# ports:
# -
depends_on:
# - extractor
- mongodb_container
- provider
provider:
build: src/provider
container_name: provider
# ports:
# -
depends_on:
- extractor
- mongodb_container
mongodb_container:
image: mongo:latest
container_name: mongodb_container
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword
ports:
- 27017:27017
# volumes:
# - mongodb_data_container:/data/db
# volumes:
# mongodb_data_container: