From 3a082f9ee54f40587031c29434298ba38bb178a8 Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Wed, 30 Apr 2025 16:05:46 +0200 Subject: [PATCH] Update volume paths in production override for consistency Updated Nginx volume paths to point to mounted directories in `/mnt/data/feo-homepage`. Ensures alignment with production environment standards and improves deployment reliability. --- docker-compose.prod.override.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.prod.override.yml b/docker-compose.prod.override.yml index ca69de0..8d680f4 100644 --- a/docker-compose.prod.override.yml +++ b/docker-compose.prod.override.yml @@ -5,6 +5,9 @@ services: - default - traefik - db + volumes: + - /mnt/data/feo-homepage/static:/usr/share/nginx/html/static:ro + - /mnt/data/feo-homepage/media:/usr/share/nginx/html/media:ro labels: - traefik.enable=true - traefik.docker.network=traefik @@ -22,8 +25,8 @@ services: nginx: image: nginx:1.23 volumes: - - ./static:/usr/share/nginx/html/static:ro - - ./media:/usr/share/nginx/html/media:ro + - /mnt/data/feo-homepage/static:/usr/share/nginx/html/static:ro + - /mnt/data/feo-homepage/media:/usr/share/nginx/html/media:ro networks: - traefik labels: