Bind published app port to localhost

nginx on the host proxies to it, so it does not need to be reachable on the
LAN directly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 12:56:13 +00:00
parent 425f9a3859
commit d13a4f1463

View File

@@ -18,7 +18,7 @@ services:
- BASIC_AUTH_PASS=${BASIC_AUTH_PASS} - BASIC_AUTH_PASS=${BASIC_AUTH_PASS}
ports: ports:
# Select host port via APP_PORT env var; default 3000 # Select host port via APP_PORT env var; default 3000
- "${APP_PORT:-3000}:3000" - "127.0.0.1:${APP_PORT:-3000}:3000"
volumes: volumes:
# Persist cache JSON files using a named volume # Persist cache JSON files using a named volume
- magikarp-data:/app/data - magikarp-data:/app/data