Skip to content

Commit 2ddb917

Browse files
committed
fix: add db healthcheck
1 parent cb9c9fa commit 2ddb917

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pterodactyl/panel/docker-compose.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ services:
3535
MYSQL_USER: 'pterodactyl'
3636
networks:
3737
- dokploy-network
38+
healthcheck:
39+
test: ['CMD', 'healthcheck.sh', '--connect', '--innodb_initialized']
40+
start_period: 10s
41+
interval: 10s
42+
timeout: 5s
43+
retries: 3
3844

3945
cache:
4046
image: redis:alpine

0 commit comments

Comments
 (0)