fix: nginx serves uploaded assets directly, docker volumes for all public dirs
Deploy to VPS / deploy (push) Has been cancelled

This commit is contained in:
2026-04-08 17:07:49 +00:00
parent 80bb1962b2
commit c5b78c539e
5 changed files with 74 additions and 9 deletions
+6 -2
View File
@@ -59,8 +59,6 @@ services:
SMTP_SECURE: ${SMTP_SECURE}
NODE_ENV: production
volumes:
- ./public/footage:/app/public/footage
- ./public/applications:/app/public/applications
- ./public/cases:/app/public/cases
@@ -84,6 +82,12 @@ services:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./certbot/conf:/etc/letsencrypt:ro
- ./certbot/www:/var/www/certbot:ro
- ./public/cases:/srv/cases:ro
- ./public/applications:/srv/applications:ro
- ./public/news:/srv/news:ro
- ./public/parts:/srv/parts:ro
- ./public/footage:/srv/footage:ro
- ./public/operations-inbox:/srv/operations-inbox:ro
depends_on:
- app
networks: