diff --git a/server/docker_entrypoint.sh b/server/docker_entrypoint.sh index a4246115..0130162d 100644 --- a/server/docker_entrypoint.sh +++ b/server/docker_entrypoint.sh @@ -1,12 +1,12 @@ #!/bin/sh # These two are locations known and used in the Dockerfile. -CONFIG_LOCATION="/opt/config/resource.conf" +CUSTOM_CONFIG_LOCATION="/opt/config/resource.conf" JAR_LOCATION="/opt/app/atum-service.jar" -if [ -f "${CONFIG_LOCATION}" ]; then +if [ -f "${CUSTOM_CONFIG_LOCATION}" ]; then echo "Running with custom config" - java -Dconfig.file="${CONFIG_LOCATION}" -jar "${JAR_LOCATION}" + java -Dconfig.file="${CUSTOM_CONFIG_LOCATION}" -jar "${JAR_LOCATION}" else echo "Running with default config" java -jar "${JAR_LOCATION}"