Add healthcheck for wordpress in docker-compose.yaml

This commit is contained in:
2025-12-17 12:54:47 +01:00
parent 60b903cace
commit 6dd22e62d4

View File

@@ -27,6 +27,12 @@ services:
- redis - redis
networks: networks:
- internal - internal
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/"]
interval: 30s
timeout: 10s
start_period: 60s
retries: 3
mariadb: mariadb:
image: mariadb:10.11 image: mariadb:10.11