Compare commits
No commits in common. "9f7f993aa236b364932002d7bb364f11ae590ad6" and "0e0ca6b1a3af2739a32f789d3190f332837d7f8d" have entirely different histories.
9f7f993aa2
...
0e0ca6b1a3
@ -36,10 +36,8 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
||||
- PRODUCER_REDIS=192.168.222.211
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.11
|
||||
- PRODUCER_REDIS=localhost
|
||||
network_mode: "service:producer-redis1-1"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-1
|
||||
@ -48,8 +46,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.111.211/0
|
||||
network_mode: "service:producer1-1"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis1-1"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-1
|
||||
@ -59,7 +57,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.211
|
||||
ipv4_address: 192.168.111.11
|
||||
|
||||
|
||||
#### Producer 2
|
||||
@ -70,10 +68,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
||||
- PRODUCER_REDIS=192.168.222.210
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.10
|
||||
network_mode: "service:producer-redis1-2"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-2
|
||||
@ -82,8 +77,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.111.210/0
|
||||
network_mode: "service:producer1-2"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis1-2"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-2
|
||||
@ -94,7 +89,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.210
|
||||
ipv4_address: 192.168.111.10
|
||||
|
||||
|
||||
#### Producer 3
|
||||
@ -105,10 +100,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.111.21
|
||||
- PRODUCER_REDIS=192.168.222.209
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.9
|
||||
network_mode: "service:producer-redis1-3"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-3
|
||||
@ -117,8 +109,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.111.209/0
|
||||
network_mode: "service:producer1-3"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis1-3"
|
||||
depends_on:
|
||||
- consumer-api1
|
||||
- producer-redis1-3
|
||||
@ -129,7 +121,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
firstsubnet:
|
||||
ipv4_address: 192.168.111.209
|
||||
ipv4_address: 192.168.111.9
|
||||
|
||||
### Producer group 2
|
||||
|
||||
@ -140,10 +132,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||
- PRODUCER_REDIS=192.168.222.212
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.12
|
||||
network_mode: "service:producer-redis2-1"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-1
|
||||
@ -152,8 +141,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.222.212/0
|
||||
network_mode: "service:producer2-1"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis2-1"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-1
|
||||
@ -163,7 +152,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.212
|
||||
ipv4_address: 192.168.222.12
|
||||
|
||||
|
||||
#### Producer 2
|
||||
@ -174,10 +163,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||
- PRODUCER_REDIS=192.168.222.213
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.13
|
||||
network_mode: "service:producer-redis2-2"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-2
|
||||
@ -186,8 +172,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.222.213/0
|
||||
network_mode: "service:producer2-2"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis2-2"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-2
|
||||
@ -197,7 +183,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.213
|
||||
ipv4_address: 192.168.222.13
|
||||
|
||||
|
||||
#### Producer 3
|
||||
@ -208,10 +194,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.222.22
|
||||
- PRODUCER_REDIS=192.168.222.214
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.14
|
||||
network_mode: "service:producer-redis2-3"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-3
|
||||
@ -220,8 +203,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.222.214/0
|
||||
network_mode: "service:producer2-3"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis2-3"
|
||||
depends_on:
|
||||
- consumer-api2
|
||||
- producer-redis2-3
|
||||
@ -231,7 +214,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
secondsubnet:
|
||||
ipv4_address: 192.168.222.214
|
||||
ipv4_address: 192.168.222.14
|
||||
|
||||
|
||||
## Producer Group 3
|
||||
@ -243,10 +226,8 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.123.21
|
||||
- PRODUCER_REDIS=192.168.123.211
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.11
|
||||
- PRODUCER_REDIS=localhost
|
||||
network_mode: "service:producer-redis1-1"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
- producer-redis1-1
|
||||
@ -255,8 +236,8 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.123.211/0
|
||||
network_mode: "service:producer3-1"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis1-1"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
- producer-redis1-1
|
||||
@ -266,7 +247,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.211
|
||||
ipv4_address: 192.168.123.11
|
||||
|
||||
|
||||
#### Producer 2
|
||||
@ -277,10 +258,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.123.21
|
||||
- PRODUCER_REDIS=192.168.123.210
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.10
|
||||
network_mode: "service:producer-redis1-2"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
- producer-redis1-2
|
||||
@ -289,18 +267,19 @@ services:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.123.210/0
|
||||
network_mode: "service:producer3-2"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis1-2"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
# - consumer-api1
|
||||
- producer-redis1-2
|
||||
|
||||
|
||||
producer-redis3-2:
|
||||
image: redis
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.210
|
||||
ipv4_address: 192.168.123.10
|
||||
|
||||
|
||||
#### Producer 3
|
||||
@ -309,22 +288,19 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PRODUCER_KNOWNCONSUMER=192.168.123.22
|
||||
- PRODUCER_REDIS=192.168.123.214
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.14
|
||||
network_mode: "service:producer-redis2-3"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
# - consumer-api2
|
||||
- producer-redis2-3
|
||||
|
||||
producer-endpoint3-3:
|
||||
image: registry.kmlabz.com/goldenpogacsa/producer-endpoint
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- REDIS_URL=redis://192.168.123.214/0
|
||||
network_mode: "service:producer3-3"
|
||||
- REDIS_URL=redis://localhost
|
||||
network_mode: "service:producer-redis2-3"
|
||||
depends_on:
|
||||
- consumer-api3
|
||||
# - consumer-api2
|
||||
- producer-redis2-3
|
||||
|
||||
producer-redis3-3:
|
||||
@ -332,7 +308,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
thirdsubnet:
|
||||
ipv4_address: 192.168.123.214
|
||||
ipv4_address: 192.168.123.14
|
||||
|
||||
## Consumer stuff
|
||||
|
||||
|
Reference in New Issue
Block a user