Skip to content

Commit a62f973

Browse files
committed
fix: make gateway container name configurable to avoid conflicts
build with cc
1 parent 72a35fc commit a62f973

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050

5151
gateway:
5252
image: nginx:alpine
53-
container_name: agent-gateway
53+
container_name: ${GATEWAY_CONTAINER:-agent-gateway}
5454
restart: always
5555
volumes:
5656
- ./gateway/gateway.conf.template:/etc/nginx/templates/default.conf.template:ro

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ services:
5757

5858
gateway:
5959
image: nginx:alpine
60-
container_name: agent-gateway
60+
container_name: ${GATEWAY_CONTAINER:-agent-gateway}
6161
restart: always
6262
volumes:
6363
- ./gateway/gateway.conf.template:/etc/nginx/templates/default.conf.template:ro

0 commit comments

Comments
 (0)