fix: Bind Next.js server to 0.0.0.0 for external access

The deployment was unreachable because the Next.js server was binding
to localhost:3000 (127.0.0.1) instead of 0.0.0.0, making it only
accessible inside the Docker container.

- Added HOSTNAME=0.0.0.0 to Dockerfile build and runtime stages
- Added HOSTNAME=0.0.0.0 to docker-compose.yml for nextjs service

This allows the server to accept connections from external hosts.
This commit is contained in:
WorkClub Automation
2026-03-20 13:29:21 +01:00
parent 3cf7c3a221
commit 1aea91da55
6 changed files with 225 additions and 1 deletions
@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-03-18