Skip to content

Commit

Permalink
docker compose healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Jan 6, 2025
1 parent 3df7b74 commit b928902
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/installation/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ services:
restart: unless-stopped
networks:
- faridoon-network
healthcheck:
test: mysqladmin ping -h localhost
interval: 10s
timeout: 5s
retries: 5

volumes:
faridoon-config:
Expand Down

0 comments on commit b928902

Please # to comment.