feat: add local date in docker-compose files

This commit is contained in:
2025-07-12 17:10:20 +02:00
parent b9884d6560
commit fa1ee4dd64
13 changed files with 89 additions and 2 deletions

View File

@@ -11,6 +11,9 @@ services:
- PGID=1000
- TZ=Europe/Madrid
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
depends_on:
bbdd:
condition: service_healthy
@@ -28,6 +31,9 @@ services:
ports:
- "3306:3306"
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -p${MYSQL_ROOT_PASSWORD}"]
interval: 10s