-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-3.yml
51 lines (44 loc) · 977 Bytes
/
docker-compose-3.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
name: tms-dist
services:
outbox-1:
build: outbox/target/docker/stage
environment:
INFRA_HOST: "${HOST_IP}"
INSTANCE: 1
TOTAL_INSTANCES: 3
outbox-2:
build: outbox/target/docker/stage
environment:
INFRA_HOST: "${HOST_IP}"
INSTANCE: 2
TOTAL_INSTANCES: 3
outbox-3:
build: outbox/target/docker/stage
environment:
INFRA_HOST: "${HOST_IP}"
INSTANCE: 3
TOTAL_INSTANCES: 3
bank:
build: bank/target/docker/stage
deploy:
replicas: 3
environment:
INFRA_HOST: "${HOST_IP}"
necromant:
build: necromant/target/docker/stage
environment:
INFRA_HOST: "${HOST_IP}"
transfers-main:
build: transfers/target/docker/stage
deploy:
replicas: 1
ports:
- 8080:8080
environment:
INFRA_HOST: "${HOST_IP}"
transfers:
build: transfers/target/docker/stage
deploy:
replicas: 2
environment:
INFRA_HOST: "${HOST_IP}"