Skip to content

Commit

Permalink
chore: wait for log output when starting mysql/mariadb (#505)
Browse files Browse the repository at this point in the history
Waiting for the port stopped working for me,
as no direct access to the container is possible anymore due to firewall.
  • Loading branch information
adangel authored Sep 28, 2024
1 parent fcf28ab commit 1edc0f4
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<!-- <showLogs>true</showLogs>-->
<images>
<image>
<name>${mysql_image}</name>
Expand All @@ -611,11 +612,7 @@
<port>config_port:3306</port>
</ports>
<wait>
<tcp>
<ports>
<port>3306</port>
</ports>
</tcp>
<log>port: 3306</log>
<time>180000</time>
</wait>
</run>
Expand All @@ -635,11 +632,7 @@
<port>config_port_mariadb:3306</port>
</ports>
<wait>
<tcp>
<ports>
<port>3306</port>
</ports>
</tcp>
<log>port: 3306</log>
<time>180000</time>
</wait>
</run>
Expand Down

0 comments on commit 1edc0f4

Please sign in to comment.