Skip to content

fix: respect Railway PORT env var in database_worker#381

Merged
neoneye merged 1 commit intomainfrom
fix/database-worker-railway-port
Mar 21, 2026
Merged

fix: respect Railway PORT env var in database_worker#381
neoneye merged 1 commit intomainfrom
fix/database-worker-railway-port

Conversation

@neoneye
Copy link
Member

@neoneye neoneye commented Mar 21, 2026

Summary

  • Railway injects a PORT env var and routes healthcheck traffic to it
  • The server now checks PORT first, falling back to PLANEXE_DATABASE_WORKER_PORT (default 8002) for Docker Compose

Test plan

  • Deploy to Railway — healthcheck passes
  • Docker Compose still works (no PORT set, uses 8002)

🤖 Generated with Claude Code

Railway injects a PORT variable and routes healthcheck traffic to it.
The server now checks PORT first, falling back to
PLANEXE_DATABASE_WORKER_PORT for Docker Compose.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@neoneye neoneye merged commit 153559a into main Mar 21, 2026
3 checks passed
@neoneye neoneye deleted the fix/database-worker-railway-port branch March 21, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant