Dockerfile from a connected repo.
1
Add a Dockerfile
2
Modify and commit connection.yaml
The project must use a direct connector, with secrets replaced by
${VAR} environment references:connection.yaml is gitignored by default. Once its secrets are ${VAR} placeholders, remove it from .gitignore and commit it — the container reads it at runtime.3
Create the service
In the Railway dashboard: New Project → Deploy from GitHub repo, and select the project’s repo. Railway detects the
Dockerfile automatically.4
Set service variables
On the service, open the Variables tab and add:
EVIDENCE_BASIC_USER— HTTP Basic Auth usernameEVIDENCE_BASIC_PASSWORD— HTTP Basic Auth password- every
${VAR}referenced inconnection.yaml, hereSNOWFLAKE_USERandSNOWFLAKE_PRIVATE_KEY
PORT variable is needed — Railway provides one and the image binds to it automatically.
