This commit is contained in:
parent
de82e24792
commit
8840e4fd46
@ -39,7 +39,7 @@ services:
|
|||||||
- PRODUCER_REDIS=localhost
|
- PRODUCER_REDIS=localhost
|
||||||
network_mode: "service:producer-redis1-1"
|
network_mode: "service:producer-redis1-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-1
|
- producer-redis1-1
|
||||||
|
|
||||||
producer-endpoint1-1:
|
producer-endpoint1-1:
|
||||||
@ -49,7 +49,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis1-1"
|
network_mode: "service:producer-redis1-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-1
|
- producer-redis1-1
|
||||||
|
|
||||||
producer-redis1-1:
|
producer-redis1-1:
|
||||||
@ -70,7 +70,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
||||||
network_mode: "service:producer-redis1-2"
|
network_mode: "service:producer-redis1-2"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-2
|
- producer-redis1-2
|
||||||
|
|
||||||
producer-endpoint1-2:
|
producer-endpoint1-2:
|
||||||
@ -80,7 +80,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis1-2"
|
network_mode: "service:producer-redis1-2"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-2
|
- producer-redis1-2
|
||||||
|
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
||||||
network_mode: "service:producer-redis1-3"
|
network_mode: "service:producer-redis1-3"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-3
|
- producer-redis1-3
|
||||||
|
|
||||||
producer-endpoint1-3:
|
producer-endpoint1-3:
|
||||||
@ -112,7 +112,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis1-3"
|
network_mode: "service:producer-redis1-3"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api1
|
||||||
- producer-redis1-3
|
- producer-redis1-3
|
||||||
|
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||||
network_mode: "service:producer-redis2-1"
|
network_mode: "service:producer-redis2-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-1
|
- producer-redis2-1
|
||||||
|
|
||||||
producer-endpoint2-1:
|
producer-endpoint2-1:
|
||||||
@ -144,7 +144,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis2-1"
|
network_mode: "service:producer-redis2-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-1
|
- producer-redis2-1
|
||||||
|
|
||||||
producer-redis2-1:
|
producer-redis2-1:
|
||||||
@ -165,7 +165,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||||
network_mode: "service:producer-redis2-2"
|
network_mode: "service:producer-redis2-2"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-2
|
- producer-redis2-2
|
||||||
|
|
||||||
producer-endpoint2-2:
|
producer-endpoint2-2:
|
||||||
@ -175,7 +175,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis2-2"
|
network_mode: "service:producer-redis2-2"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-2
|
- producer-redis2-2
|
||||||
|
|
||||||
producer-redis2-2:
|
producer-redis2-2:
|
||||||
@ -196,7 +196,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||||
network_mode: "service:producer-redis2-3"
|
network_mode: "service:producer-redis2-3"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-3
|
- producer-redis2-3
|
||||||
|
|
||||||
producer-endpoint2-3:
|
producer-endpoint2-3:
|
||||||
@ -206,7 +206,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis2-3"
|
network_mode: "service:producer-redis2-3"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api2
|
- consumer-api2
|
||||||
- producer-redis2-3
|
- producer-redis2-3
|
||||||
|
|
||||||
producer-redis2-3:
|
producer-redis2-3:
|
||||||
@ -229,7 +229,7 @@ services:
|
|||||||
- PRODUCER_REDIS=localhost
|
- PRODUCER_REDIS=localhost
|
||||||
network_mode: "service:producer-redis1-1"
|
network_mode: "service:producer-redis1-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api3
|
||||||
- producer-redis1-1
|
- producer-redis1-1
|
||||||
|
|
||||||
producer-endpoint3-1:
|
producer-endpoint3-1:
|
||||||
@ -239,7 +239,7 @@ services:
|
|||||||
- REDIS_URL=redis://localhost
|
- REDIS_URL=redis://localhost
|
||||||
network_mode: "service:producer-redis1-1"
|
network_mode: "service:producer-redis1-1"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api3
|
||||||
- producer-redis1-1
|
- producer-redis1-1
|
||||||
|
|
||||||
producer-redis3-1:
|
producer-redis3-1:
|
||||||
@ -260,7 +260,7 @@ services:
|
|||||||
- PRODUCER_KNOWNCONSUMER=192.168.123.21
|
- PRODUCER_KNOWNCONSUMER=192.168.123.21
|
||||||
network_mode: "service:producer-redis1-2"
|
network_mode: "service:producer-redis1-2"
|
||||||
depends_on:
|
depends_on:
|
||||||
# - consumer-api1
|
- consumer-api3
|
||||||
- producer-redis1-2
|
- producer-redis1-2
|
||||||
|
|
||||||
producer-endpoint3-2:
|
producer-endpoint3-2:
|
||||||
@ -331,7 +331,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- REDIS_URL=redis://192.168.111.121/0
|
- REDIS_URL=redis://192.168.111.121/0
|
||||||
- INITIAL_SERVERS="[\"192.168.222.22\", \"192.168.222.122\"]"
|
- INITIAL_SERVERS="192.168.222.22, 192.168.222.122"
|
||||||
- LOCAL_UUID=d8b2e5e2-f675-4194-9324-af58e4b70c54
|
- LOCAL_UUID=d8b2e5e2-f675-4194-9324-af58e4b70c54
|
||||||
network_mode: "service:consumer-api1"
|
network_mode: "service:consumer-api1"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -364,7 +364,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- REDIS_URL=redis://192.168.222.122/0
|
- REDIS_URL=redis://192.168.222.122/0
|
||||||
- INITIAL_SERVERS="[\"192.168.111.21\", \"192.168.123.21\"]"
|
- INITIAL_SERVERS="192.168.111.21, 192.168.123.21"
|
||||||
- LOCAL_UUID=9e79d4e7-f4c2-44d2-ac11-682f62fda985
|
- LOCAL_UUID=9e79d4e7-f4c2-44d2-ac11-682f62fda985
|
||||||
network_mode: "service:consumer-api2"
|
network_mode: "service:consumer-api2"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -397,7 +397,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- REDIS_URL=redis://192.168.123.121/0
|
- REDIS_URL=redis://192.168.123.121/0
|
||||||
- INITIAL_SERVERS="[\"192.168.111.21\", \"192.168.222.122\"]"
|
- INITIAL_SERVERS="192.168.111.21, 192.168.222.122"
|
||||||
- LOCAL_UUID=d8b2e5e3-f675-4194-9324-af58e4b70c55
|
- LOCAL_UUID=d8b2e5e3-f675-4194-9324-af58e4b70c55
|
||||||
network_mode: "service:consumer-api3"
|
network_mode: "service:consumer-api3"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Reference in New Issue
Block a user