diff --git a/docker-compose.production.yml b/docker-compose.production.yml index db2b0182..0218ee29 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -146,10 +146,8 @@ services: # Production volumes volumes: - # Mount application code from rsync deployment (read-only) - - /home/deploy/michaelschiemer/current:/var/www/html:ro - # Mount storage directory as writable volume (overlays the read-only code mount) - - storage:/var/www/html/storage:rw + # Mount application code from rsync deployment (read-write for storage/var directories) + - /home/deploy/michaelschiemer/current:/var/www/html:rw # Database service removed - using external PostgreSQL Stack (deployment/stacks/postgresql/) # Connection via app-internal network using docker-compose.postgres-override.yml @@ -244,12 +242,8 @@ services: # Production volumes volumes: - # Mount application code from rsync deployment (read-only) - - /home/deploy/michaelschiemer/current:/var/www/html:ro - # Mount storage directory as writable volume (overlays the read-only code mount) - - storage:/var/www/html/storage:rw - # Mount var directory as writable volume for cache and logs (overlays read-only code mount) - - var-data:/var/www/html/var:rw + # Mount application code from rsync deployment (read-write for storage/var directories) + - /home/deploy/michaelschiemer/current:/var/www/html:rw environment: - APP_ENV=production @@ -317,12 +311,8 @@ services: # Production volumes volumes: - # Mount application code from rsync deployment (read-only) - - /home/deploy/michaelschiemer/current:/var/www/html:ro - # Mount storage directory as writable volume (overlays the read-only code mount) - - storage:/var/www/html/storage:rw - # Mount var directory as writable volume for cache and logs (overlays read-only code mount) - - var-data:/var/www/html/var:rw + # Mount application code from rsync deployment (read-write for storage/var directories) + - /home/deploy/michaelschiemer/current:/var/www/html:rw environment: - TZ=Europe/Berlin