fix: update config for video serving

This commit is contained in:
TheMaddax 2024-12-09 17:30:49 -06:00
parent 55c2bc5e12
commit 05786a9517
2 changed files with 7 additions and 3 deletions

View file

@ -11,7 +11,7 @@ services:
volumes: volumes:
- type: bind - type: bind
source: /docker/websites/deafgain/video_content source: /docker/websites/deafgain/video_content
target: /app/public/videos target: /app/dist/videos
environment: environment:
- NODE_ENV=production - NODE_ENV=production
- PORT=804 - PORT=804
@ -19,4 +19,4 @@ services:
networks: networks:
caddy_network: caddy_network:
external: true external: true

View file

@ -8,5 +8,9 @@ export default defineConfig({
assetsDir: 'assets', assetsDir: 'assets',
copyPublicDir: true copyPublicDir: true
}, },
publicDir: 'public' preview: {
port: 804,
host: true,
strictPort: true
}
}) })