@@ -2,7 +2,7 @@ x-volumes: &x-volumes
22 - ./..:/etc/develop:ro
33
44services :
5- temporal-left :
5+ temporal-a :
66 image : temporalio/temporal:1.5.0
77 command :
88 - server
@@ -18,8 +18,8 @@ services:
1818 - --log-level
1919 - warn
2020 ports :
21- - " ${TEMPORAL_LEFT_EXTERNAL_PORT }:${TEMPORAL_INTERNAL_PORT}"
22- - " ${TEMPORAL_LEFT_UI_EXTERNAL_PORT }:${TEMPORAL_UI_INTERNAL_PORT}"
21+ - " ${TEMPORAL_A_EXTERNAL_PORT }:${TEMPORAL_INTERNAL_PORT}"
22+ - " ${TEMPORAL_A_UI_EXTERNAL_PORT }:${TEMPORAL_UI_INTERNAL_PORT}"
2323 networks :
2424 - develop
2525 healthcheck :
@@ -36,7 +36,7 @@ services:
3636 retries : 30
3737 start_period : 5s
3838
39- temporal-right :
39+ temporal-b :
4040 image : temporalio/temporal:1.5.0
4141 command :
4242 - server
@@ -52,8 +52,8 @@ services:
5252 - --log-level
5353 - warn
5454 ports :
55- - " ${TEMPORAL_RIGHT_EXTERNAL_PORT }:${TEMPORAL_INTERNAL_PORT}"
56- - " ${TEMPORAL_RIGHT_UI_EXTERNAL_PORT }:${TEMPORAL_UI_INTERNAL_PORT}"
55+ - " ${TEMPORAL_B_EXTERNAL_PORT }:${TEMPORAL_INTERNAL_PORT}"
56+ - " ${TEMPORAL_B_UI_EXTERNAL_PORT }:${TEMPORAL_UI_INTERNAL_PORT}"
5757 networks :
5858 - develop
5959 healthcheck :
@@ -70,20 +70,20 @@ services:
7070 retries : 30
7171 start_period : 5s
7272
73- proxy-right :
73+ proxy-b :
7474 build :
7575 context : ../..
7676 dockerfile : Dockerfile
7777 environment :
78- CONFIG_YML : /etc/develop/docker-compose/tmp/develop.proxy-right .yaml
78+ CONFIG_YML : /etc/develop/docker-compose/tmp/develop.proxy-b .yaml
7979 volumes : *x-volumes
8080 ports :
81- - " ${PROXY_RIGHT_EXTERNAL_PORT }:${PROXY_RIGHT_INTERNAL_PORT }"
82- - " ${PROXY_RIGHT_METRICS_EXTERNAL_PORT }:${PROXY_METRICS_INTERNAL_PORT}"
81+ - " ${PROXY_B_EXTERNAL_PORT }:${PROXY_B_INTERNAL_PORT }"
82+ - " ${PROXY_B_METRICS_EXTERNAL_PORT }:${PROXY_METRICS_INTERNAL_PORT}"
8383 networks :
8484 - develop
8585 depends_on :
86- temporal-right :
86+ temporal-b :
8787 condition : service_healthy
8888 healthcheck : # TODO: Replace with healthcheck endpoint.
8989 test :
@@ -94,22 +94,22 @@ services:
9494 retries : 30
9595 start_period : 10s
9696
97- proxy-left :
97+ proxy-a :
9898 build :
9999 context : ../..
100100 dockerfile : Dockerfile
101101 environment :
102- CONFIG_YML : /etc/develop/docker-compose/tmp/develop.proxy-left .yaml
102+ CONFIG_YML : /etc/develop/docker-compose/tmp/develop.proxy-a .yaml
103103 volumes : *x-volumes
104104 ports :
105- - " ${PROXY_LEFT_EXTERNAL_PORT }:${PROXY_LEFT_INTERNAL_PORT }"
106- - " ${PROXY_LEFT_METRICS_EXTERNAL_PORT }:${PROXY_METRICS_INTERNAL_PORT}"
105+ - " ${PROXY_A_EXTERNAL_PORT }:${PROXY_A_INTERNAL_PORT }"
106+ - " ${PROXY_A_METRICS_EXTERNAL_PORT }:${PROXY_METRICS_INTERNAL_PORT}"
107107 networks :
108108 - develop
109109 depends_on :
110- temporal-left :
110+ temporal-a :
111111 condition : service_healthy
112- proxy-right :
112+ proxy-b :
113113 condition : service_healthy
114114 healthcheck : # TODO: Replace with healthcheck endpoint.
115115 test :
@@ -130,9 +130,9 @@ services:
130130 networks :
131131 - develop
132132 depends_on :
133- proxy-left :
133+ proxy-a :
134134 condition : service_healthy
135- proxy-right :
135+ proxy-b :
136136 condition : service_healthy
137137
138138 smoke-test :
@@ -141,16 +141,16 @@ services:
141141 networks :
142142 - develop
143143 depends_on :
144- proxy-left :
144+ proxy-a :
145145 condition : service_healthy
146- proxy-right :
146+ proxy-b :
147147 condition : service_healthy
148148 volumes : *x-volumes
149149 environment :
150- TEMPORAL_LEFT_INBOUND : " temporal-left :${TEMPORAL_INTERNAL_PORT}"
151- TEMPORAL_RIGHT_INBOUND : " temporal-right :${TEMPORAL_INTERNAL_PORT}"
152- PROXY_LEFT_OUTBOUND : " proxy-left :${PROXY_LEFT_INTERNAL_PORT }"
153- PROXY_RIGHT_OUTBOUND : " proxy-right :${PROXY_RIGHT_INTERNAL_PORT }"
150+ TEMPORAL_A_INBOUND : " temporal-a :${TEMPORAL_INTERNAL_PORT}"
151+ TEMPORAL_B_INBOUND : " temporal-b :${TEMPORAL_INTERNAL_PORT}"
152+ PROXY_A_OUTBOUND : " proxy-a :${PROXY_A_INTERNAL_PORT }"
153+ PROXY_B_OUTBOUND : " proxy-b :${PROXY_B_INTERNAL_PORT }"
154154 command :
155155 - /etc/develop/docker-compose/smoke-test.sh
156156
0 commit comments