-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (59 loc) · 1.25 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
62
63
version: '3.7'
services:
training-api:
image: training-api:latest
build:
dockerfile: Training.Docker.API/Dockerfile
context: .
depends_on:
- training-rabbitmq
- training-mongo
env_file:
- ./dev.env
ports:
- "5000:80"
deploy:
replicas: 2
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
training-service:
image: training-service:latest
build:
dockerfile: Training.Docker.FromCommandToQueryPartNotificationService/Dockerfile
context: .
depends_on:
- training-rabbitmq
- training-sqlserver
- training-mongo
env_file:
- ./dev.env
deploy:
replicas: 2
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
training-reportapi:
image: training-reportapi:latest
build:
dockerfile: Training.Docker.RaportAPI/Dockerfile
context: .
depends_on:
- training-sqlserver
env_file:
- ./dev.env
ports:
- "5001:80"
deploy:
replicas: 2
update_config:
parallelism: 2
delay: 10s
restart_policy:
condition: on-failure
networks:
training-net: