fix: update config for video serving
This commit is contained in:
parent
55c2bc5e12
commit
05786a9517
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,9 @@ export default defineConfig({
|
||||||
assetsDir: 'assets',
|
assetsDir: 'assets',
|
||||||
copyPublicDir: true
|
copyPublicDir: true
|
||||||
},
|
},
|
||||||
publicDir: 'public'
|
preview: {
|
||||||
|
port: 804,
|
||||||
|
host: true,
|
||||||
|
strictPort: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue