Skip to content

Add pgx5driver build tag to all Go service Dockerfiles#5

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-OVROSQ
Open

Add pgx5driver build tag to all Go service Dockerfiles#5
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-OVROSQ

Conversation

@railway-app

@railway-app railway-app Bot commented Jul 12, 2026

Copy link
Copy Markdown

Problem

Gateway, match-service, platform-service, matchmaking-service, analysis-worker, and migrate services fail to start because they cannot connect to PostgreSQL. Their Dockerfiles build the binaries without the pgx5driver build tag, so the pgx PostgreSQL driver is never compiled in.

Solution

Added -tags pgx5driver to the go build command in deploy/railway/gateway.Dockerfile, match-service.Dockerfile, platform-service.Dockerfile, matchmaking-service.Dockerfile, Dockerfile.analysis-worker, and Dockerfile.migrate so the pgx5 PostgreSQL driver is included at build time.

Changes

  • Modified deploy/railway/gateway.Dockerfile
  • Modified deploy/railway/match-service.Dockerfile
  • Modified deploy/railway/platform-service.Dockerfile
  • Modified deploy/railway/matchmaking-service.Dockerfile
  • Modified deploy/railway/Dockerfile.analysis-worker
  • Modified deploy/railway/Dockerfile.migrate

Generated by Railway

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.

0 participants