Remove database health check and WordPress dependency

Simplify container startup by removing health check constraint that was causing issues.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
BeauTroll
2025-12-21 08:13:09 +01:00
parent 70eefb4ca6
commit 31b8503cc0

View File

@@ -4,9 +4,6 @@ services:
restart: always restart: always
expose: expose:
- 80 - 80
depends_on:
db:
condition: service_healthy
environment: environment:
WORDPRESS_DB_HOST: db WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: ${MYSQL_USER} WORDPRESS_DB_USER: ${MYSQL_USER}
@@ -34,11 +31,6 @@ services:
- MYSQL_PASSWORD=${MYSQL_PASSWORD} - MYSQL_PASSWORD=${MYSQL_PASSWORD}
volumes: volumes:
- ./db:/var/lib/mysql - ./db:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 3
networks: networks:
- walter-coiffure-net - walter-coiffure-net
redis: redis: