Actualiser docker-compose.prod.yml
All checks were successful
Deploy / deploy (push) Successful in 37s

This commit is contained in:
2026-03-10 12:56:02 +00:00
parent 9f0d2b46ab
commit 17d8d8efff

View File

@@ -16,12 +16,8 @@ services:
depends_on: depends_on:
mysql: mysql:
condition: service_healthy condition: service_healthy
labels: redis:
- homepage.group=${HOMEPAGE_GROUP} condition: service_started
- homepage.name=${HOMEPAGE_NAME}
- homepage.icon=${HOMEPAGE_ICON}
- homepage.description=${HOMEPAGE_DESC}
- homepage.href=${HOMEPAGE_HREF}
mysql: mysql:
image: mysql:8.0 image: mysql:8.0
@@ -40,8 +36,16 @@ services:
- web - web
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u${DB_USERNAME}", "-p${DB_PASSWORD}"] test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u${DB_USERNAME}", "-p${DB_PASSWORD}"]
timeout: 20s interval: 10s
retries: 10 timeout: 5s
retries: 5
redis:
image: redis:alpine
container_name: ${APP_NAME}-redis
restart: unless-stopped
networks:
- web
networks: networks:
web: web: