diff --git a/docker-compose.yml b/docker-compose.yml index cff3a0f..ab292de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,11 +14,17 @@ x-logging: &logging services: change: + <<: *logging container_name: change image: node:alpine build: ./change-game environment: - PORT=9000 + networks: + - nginx + volumes: + - change:/change/public + foundry: <<: *logging image: felddy/foundryvtt:release @@ -637,6 +643,7 @@ services: - nextcloud:/var/www/html/nextcloud:ro - ./christmas:/var/www/html/christmas:ro - tt-rss:/var/www/html/tt-rss:ro + - change:/var/www/html/change:ro environment: - DOMAIN=${DOMAIN} depends_on: @@ -685,6 +692,7 @@ volumes: homebox: navidrome: minecraft: + change: networks: db: diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 07b01d7..ee3f30e 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -390,6 +390,9 @@ http { } location /change { + + alias "/var/www/html/change"; + try_files $uri /change/index.html; # Set proxy headers proxy_set_header Host $host;