This commit is contained in:
2026-02-12 17:44:22 +01:00
parent e8c41d1f64
commit 25bf0f8202
7 changed files with 5 additions and 40 deletions

View File

@@ -43,8 +43,8 @@ services:
condition: service_healthy
volumes:
- ./wp:/var/www/html
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
- ./opcache.ini:/usr/local/etc/php/conf.d/opcache.ini
- ./config/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
- ./config/opcache.ini:/usr/local/etc/php/conf.d/opcache.ini
- ./static:/export
ports:
- ${WP_PORT:-8080}:80
@@ -79,7 +79,7 @@ services:
backup:
build:
context: .
dockerfile: backup.Dockerfile
dockerfile: config/backup.Dockerfile
restart: unless-stopped
depends_on:
db:
@@ -92,7 +92,7 @@ services:
echo "Backup container ready. Schedule: ${BACKUP_SCHEDULE:-0 2 * * *}"
crond -f -l 2
volumes:
- ./backup-container.sh:/usr/local/bin/backup.sh:ro
- ./scripts/backup.sh:/usr/local/bin/backup.sh:ro
- ./wp:/source/wp:ro
- ./backups:/backups
environment: