Actualiser docker-compose.prod.yml
All checks were successful
Deploy / deploy (push) Successful in 37s
All checks were successful
Deploy / deploy (push) Successful in 37s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user