Added NGINX to proxy due to limitations on Unifi External Portal Config

This commit is contained in:
Roger Joys
2026-03-15 16:03:25 -07:00
parent 16770d833b
commit d2fca3324d
2 changed files with 20 additions and 3 deletions

View File

@@ -2,9 +2,17 @@ services:
portal:
build: .
restart: unless-stopped
ports:
- "8080:8000"
env_file:
- .env
expose:
- "8000"
nginx:
image: nginx:alpine
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./app/static:/app/app/static
- ./nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- portal