Skip to content

Commit

Permalink
replacing localhost with '%'
Browse files Browse the repository at this point in the history
  • Loading branch information
bchurchill authored and ismisepaul committed Oct 14, 2019
1 parent 6bcce67 commit 5446024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/mysql/Dockerfile
Expand Up @@ -17,7 +17,7 @@ ARG DOCKER_NETWORK_NAME
COPY target/coreSchema.sql /docker-entrypoint-initdb.d/coreSchema.sql
COPY target/moduleSchemas.sql /docker-entrypoint-initdb.d/moduleSchemas.sql

RUN sed -i 's/@'\''localhost'\''/@'\'''"$CONTAINER_TOMCAT"'.'"$DOCKER_NETWORK_NAME"''\''/g' /docker-entrypoint-initdb.d/moduleSchemas.sql
RUN sed -i 's/@'\''localhost'\''/@'\'''%''\''/g' /docker-entrypoint-initdb.d/moduleSchemas.sql

RUN mkdir -p /etc/mysql/conf.d \
&& { \
Expand Down

0 comments on commit 5446024

Please sign in to comment.