Skip to content

Commit ac01c9b

Browse files
fix(java-dedup): hardcode docker-compose container_name
- Replaced the ${JAVA_DEDUP_CONTAINER_NAME:-dedup-java} substitution with the literal "dedup-java". - Keploy's compose parser does not interpolate ${VAR:-default}, so --container-name "dedup-java" failed to match the literal placeholder during `keploy test -c "docker compose up"`. Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
1 parent e313cc4 commit ac01c9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java-dedup/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
dockerfile: Dockerfile
77
args:
88
JAVA_VERSION: ${JAVA_VERSION:-8}
9-
container_name: ${JAVA_DEDUP_CONTAINER_NAME:-dedup-java}
9+
container_name: dedup-java
1010
ports:
1111
- "${JAVA_DEDUP_HOST_PORT:-8080}:8080"
1212
environment:

0 commit comments

Comments
 (0)