mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
Railway auto-detects Dockerfiles at repo root and uses them for ALL services, even those set to NIXPACKS. This caused all seed services (ais-relay, seed-gpsjam, etc.) to build nginx-only containers with no node binary, breaking every Railway service. Move Dockerfile and related files to docker/ subdirectory. Railway only checks the repo root for Dockerfiles, so this prevents accidental detection. GHA workflow updated with explicit file: path.
6 lines
197 B
Bash
6 lines
197 B
Bash
#!/bin/sh
|
|
set -e
|
|
export API_UPSTREAM="${API_UPSTREAM:-https://api.worldmonitor.app}"
|
|
envsubst '${API_UPSTREAM}' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
|
|
exec nginx -g "daemon off;"
|