fix: nginx serves uploaded assets directly, docker volumes for all public dirs
Deploy to VPS / deploy (push) Has been cancelled
Deploy to VPS / deploy (push) Has been cancelled
This commit is contained in:
+6
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user