Connect assets to nginx

This commit is contained in:
2024-12-30 12:14:53 +00:00
parent 056336ce79
commit cdd316d232
2 changed files with 11 additions and 0 deletions

View File

@@ -14,11 +14,17 @@ x-logging: &logging
services: services:
change: change:
<<: *logging
container_name: change container_name: change
image: node:alpine image: node:alpine
build: ./change-game build: ./change-game
environment: environment:
- PORT=9000 - PORT=9000
networks:
- nginx
volumes:
- change:/change/public
foundry: foundry:
<<: *logging <<: *logging
image: felddy/foundryvtt:release image: felddy/foundryvtt:release
@@ -637,6 +643,7 @@ services:
- nextcloud:/var/www/html/nextcloud:ro - nextcloud:/var/www/html/nextcloud:ro
- ./christmas:/var/www/html/christmas:ro - ./christmas:/var/www/html/christmas:ro
- tt-rss:/var/www/html/tt-rss:ro - tt-rss:/var/www/html/tt-rss:ro
- change:/var/www/html/change:ro
environment: environment:
- DOMAIN=${DOMAIN} - DOMAIN=${DOMAIN}
depends_on: depends_on:
@@ -685,6 +692,7 @@ volumes:
homebox: homebox:
navidrome: navidrome:
minecraft: minecraft:
change:
networks: networks:
db: db:

View File

@@ -390,6 +390,9 @@ http {
} }
location /change { location /change {
alias "/var/www/html/change";
try_files $uri /change/index.html;
# Set proxy headers # Set proxy headers
proxy_set_header Host $host; proxy_set_header Host $host;