Skip to content

Commit 4ea99a7

Browse files
committed
update docker-compose-full.yml to work with multi-protocols
Signed-off-by: Lance-Drane <[email protected]>
1 parent 1785369 commit 4ea99a7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docker-compose-full.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ services:
5151
- "8080:8080"
5252
environment:
5353
PROXYAPP_PRODUCTION: "true"
54-
PROXYAPP_LOG_LEVEL: "debug"
54+
PROXYAPP_LOG_LEVEL: "debug"
5555
PROXYAPP_BROKER__USERNAME: "intersect_username"
5656
PROXYAPP_BROKER__PASSWORD: "intersect_password"
5757
PROXYAPP_BROKER__HOST: "broker_1"
58-
PROXYAPP_BROKER__PORT: 5672
58+
PROXYAPP_BROKER__PORT: 5672
59+
PROXYAPP_BROKER__PROTOCOL: "amqp"
5960
PROXYAPP_TOPIC_PREFIX: "org.fac.sys"
6061
PROXYAPP_APP_PORT: 8080
6162
PROXYAPP_USERNAME: "username"
@@ -64,9 +65,6 @@ services:
6465
broker_1:
6566
condition: service_healthy
6667
restart: true
67-
broker_2:
68-
condition: service_healthy
69-
restart: true
7068

7169
proxy-client-on-broker-2:
7270
image: proxy-client
@@ -76,17 +74,20 @@ services:
7674
BIN_NAME: "proxy-http-client"
7775
environment:
7876
PROXYAPP_PRODUCTION: "true"
79-
PROXYAPP_LOG_LEVEL: "debug"
77+
PROXYAPP_LOG_LEVEL: "debug"
8078
PROXYAPP_BROKER__USERNAME: "intersect_username"
8179
PROXYAPP_BROKER__PASSWORD: "intersect_password"
8280
PROXYAPP_BROKER__HOST: "broker_2"
8381
PROXYAPP_BROKER__PORT: 5672
82+
PROXYAPP_BROKER__PROTOCOL: "amqp"
8483
PROXYAPP_TOPIC_PREFIX: "org.fac.sys"
85-
PROXYAPP_OTHER_PROXY__URL: "http://proxy-server-on-broker-1:8080"
84+
PROXYAPP_OTHER_PROXY__URL: "http://proxy-server-on-broker-1:8080"
8685
PROXYAPP_OTHER_PROXY__USERNAME: "username"
8786
PROXYAPP_OTHER_PROXY__PASSWORD: "password"
8887
depends_on:
8988
proxy-server-on-broker-1:
9089
condition: service_started
9190
restart: true
92-
91+
broker_2:
92+
condition: service_healthy
93+
restart: true

0 commit comments

Comments
 (0)