Update volume paths in production Docker Compose override

Modified the volume mappings for static and media files to target `/app` directories instead of `/usr/share/nginx/html`. This ensures consistency across container services and aligns with the application's directory structure. Added missing volume mappings for the "manage" service.
main
Arne Schauf 2 weeks ago
parent 3a082f9ee5
commit d4c66b1e55
  1. 7
      docker-compose.prod.override.yml

@ -6,8 +6,8 @@ services:
- traefik - traefik
- db - db
volumes: volumes:
- /mnt/data/feo-homepage/static:/usr/share/nginx/html/static:ro - /mnt/data/feo-homepage/static:/app/static
- /mnt/data/feo-homepage/media:/usr/share/nginx/html/media:ro - /mnt/data/feo-homepage/media:/app/media
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=traefik - traefik.docker.network=traefik
@ -18,6 +18,9 @@ services:
manage: manage:
restart: no restart: no
volumes:
- /mnt/data/feo-homepage/static:/app/static
- /mnt/data/feo-homepage/media:/app/media
networks: networks:
- default - default
- db - db

Loading…
Cancel
Save