Compare commits

..

No commits in common. "9f7f993aa236b364932002d7bb364f11ae590ad6" and "0e0ca6b1a3af2739a32f789d3190f332837d7f8d" have entirely different histories.

View File

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