Config as code with container registries
hwakabh
HOBBYOP

a year ago

Hello team,

I love using Railway and now I would like to deploy my containerized application onto Railway.
As you know I can specify registry path in creating services, but where should I define them in the config file railway.toml or railway.json?
https://docs.railway.com/guides/config-as-code

I checked its schema but seems there is no field for specifying image path, actually I am using GitHub Container Registry (ghcr.io) in my case.
https://railway.com/railway.schema.json

Thanks,
Hiro

Solved

7 Replies

hwakabh
HOBBYOP

a year ago

N/A


brody
EMPLOYEE

a year ago

hello!

config as code only works with github repo deploys because with image deploys you have no where to store the config as code given the source is a pre-built image


hwakabh
HOBBYOP

a year ago

Thanks Brody, make sense. So the "config as code" will not expect to store all the configurations of Railway right?


brody
EMPLOYEE

a year ago

it cant control everything, no


hwakabh
HOBBYOP

a year ago

Got it, thanks to your comments!


brody
EMPLOYEE

a year ago

no problem!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...