Add healthcheck for wordpress in docker-compose.yaml
This commit is contained in:
@@ -27,6 +27,12 @@ services:
|
||||
- redis
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
start_period: 60s
|
||||
retries: 3
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.11
|
||||
|
||||
Reference in New Issue
Block a user