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