Skip to content

Commit d75c12c

Browse files
committed
Added healthcheck.
1 parent 23abea6 commit d75c12c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugins/wpgraphql-logging/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ services:
2626
- plugin_network
2727

2828
mysql:
29+
healthcheck:
30+
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
31+
interval: 10s
32+
timeout: 5s
33+
retries: 10
2934
image: mariadb:10.2.7
3035
restart: always
3136
ports:

0 commit comments

Comments
 (0)