We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f08d28 commit af21cd6Copy full SHA for af21cd6
src/main/docker/Dockerfile
@@ -7,7 +7,8 @@ FROM livingatlases/java-11-base:1.0.0
7
ARG APP_ARTIFACT=collectory
8
ARG USER=collectory
9
ARG WAR_FILE=./build/libs/collectory-*.war
10
-ARG DOCKERIZE_ARGS="-wait tcp://living-atlas-collectory-mysql:3306 -timeout 120s"
+ENV MYSQL_HOST=collectory-mysql
11
+ARG DOCKERIZE_ARGS="-wait tcp://$MYSQL_HOST:3306 -timeout 120s"
12
13
# Env variables
14
ENV SERVER_PORT="8080"
0 commit comments