fix: update NGINX configuration for improved backend service referencing and enhance docker-compose environment variable clarity

This commit is contained in:
Sean Morley
2025-01-10 19:36:38 -05:00
parent de8764499b
commit 1e48152e1a
2 changed files with 8 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ services:
container_name: adventurelog-frontend
restart: unless-stopped
environment:
- PUBLIC_SERVER_URL=http://server:8000 # MOST DOCKER USERS WILL NOT NEED TO CHANGE THIS EVER EVEN IF YOU CHANGE THE OUTWARD PORT
- PUBLIC_SERVER_URL=http://server:8000 # Should be the service name of the backend with port 8000, even if you change the port in the backend service
- ORIGIN=http://localhost:8015
- BODY_SIZE_LIMIT=Infinity
ports: