-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 893 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (48 loc) · 893 Bytes
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
services:
mongo:
image: mongo:latest
container_name: logs-mongo
restart: unless-stopped
ports:
- "27017"
volumes:
- mongo_data:/data/db
environment:
MONGO_INITDB_DATABASE: logsdb
networks:
- dbnet
command: ["mongod", "--bind_ip_all"]
dotnet:
build:
context: ./dotnet_bdd
container_name: dotnet-backend
restart: unless-stopped
ports:
- "5124"
depends_on:
- mongo
volumes:
- ./dotnet_bdd:/app
networks:
- dbnet
- apinet
python:
build:
context: ./python_traitement
container_name: python-frontend
restart: unless-stopped
ports:
- "8000:8000"
depends_on:
- dotnet
volumes:
- ./python_traitement:/app
networks:
- apinet
volumes:
mongo_data:
networks:
dbnet:
driver: bridge
apinet:
driver: bridge