Gone live

This commit is contained in:
James Pattinson
2025-12-07 15:02:51 +00:00
parent 3780b3cf2f
commit 4d71d59d90
10 changed files with 542 additions and 401 deletions

View File

@@ -62,6 +62,14 @@ services:
image: nginx:alpine
container_name: ppr_nextgen_web
restart: unless-stopped
environment:
BASE_URL: ${BASE_URL}
command: >
sh -c "sed 's|__BASE_URL__|'"\$BASE_URL"'|g' /usr/share/nginx/html/ppr.html > /tmp/ppr.html &&
mv /tmp/ppr.html /usr/share/nginx/html/ppr.html &&
sed 's|__BASE_URL__|'"\$BASE_URL"'|g' /usr/share/nginx/html/index.html > /tmp/index.html &&
mv /tmp/index.html /usr/share/nginx/html/index.html &&
nginx -g 'daemon off;'"
ports:
- "${WEB_PORT_EXTERNAL}:80" # Public web interface
volumes: