R
Railway•10mo ago
Alaanor

Can we easily add some config files for a dockerhub type of deployment ?

https://docs.railway.app/develop/services#docker-image we can deploy from dockerhub and that's very cool PauseChamp . Some service like grafana support to override config through env variable but some just don't and want a config file. Does railway let us do that in some way ?
6 Replies
Percy
Percy•10mo ago
Project ID: N/A
Alaanor
Alaanor•10mo ago
N/A
Brody
Brody•10mo ago
for the images that want a config file you would need to make a repo with a Dockerfile
FROM image

COPY conf.config /etc/usr/app
FROM image

COPY conf.config /etc/usr/app
you get the idea
Alaanor
Alaanor•10mo ago
Ok I see, just wanted to know if an simple way existed or not. Thanks !
Brody
Brody•10mo ago
blame the apps that havent implemented config from environment variables 😠
Alaanor
Alaanor•10mo ago
Indeed LUL