fix: bind app port to 0.0.0.0 so it's reachable from the network

127.0.0.1:3000 only accepted connections from localhost.
DB port intentionally stays on 127.0.0.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jerick
2026-04-20 16:33:04 -04:00
parent d41ab0c4e8
commit 874b022139

View File

@@ -18,7 +18,7 @@ services:
app:
build: .
ports:
- "127.0.0.1:3000:3000"
- "0.0.0.0:3000:3000"
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}