Skip to content

Commit a8e6c12

Browse files
authored
major: update default container name (#229)
The previous default container name `localstack_main` is not a valid URL, so we rename the default to `localstack-main`. See localstack/localstack#9469.
1 parent d1841db commit a8e6c12

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

java-notification-app/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22

33
services:
44
localstack:
5-
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
5+
container_name: "${LOCALSTACK_DOCKER_NAME-localstack-main}"
66
image: localstack/localstack-pro
77
ports:
88
- "127.0.0.1:4510-4559:4510-4559" # external service port range

lambda-mounting-and-debugging/javascript/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22

33
services:
44
localstack:
5-
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
5+
container_name: "${LOCALSTACK_DOCKER_NAME-localstack-main}"
66
image: localstack/localstack-pro:latest
77
ports:
88
- "127.0.0.1:4566:4566" # LocalStack Gateway

route53-dns-failover/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22

33
services:
44
localstack:
5-
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
5+
container_name: "${LOCALSTACK_DOCKER_NAME-localstack-main}"
66
image: localstack/localstack-pro:2.1.0
77
networks:
88
sweet_mahavira:

route53-dns-failover/run_demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ awslocal route53 change-resource-record-sets --hosted-zone-id ${HOSTED_ZONE_ID#/
7575
]}'
7676

7777
# Get the IP address of the LocalStack container on the Docker bridge
78-
LOCALSTACK_DNS_SERVER=$(docker inspect localstack_main | jq -r '.[0].NetworkSettings.Networks."route53-dns-failover_sweet_mahavira".IPAddress')
78+
LOCALSTACK_DNS_SERVER=$(docker inspect localstack-main | jq -r '.[0].NetworkSettings.Networks."route53-dns-failover_sweet_mahavira".IPAddress')
7979
LOCALSTACK_DNS_SERVER=localhost
8080

8181
# This IP address is used to query the LocalStack DNS server

sample-archive/spring-cloud-function-microservice/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version: "3.8"
1818

1919
services:
2020
localstack:
21-
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
21+
container_name: "${LOCALSTACK_DOCKER_NAME-localstack-main}"
2222
image: localstack/localstack-pro
2323
network_mode: bridge
2424
ports:

0 commit comments

Comments
 (0)