R
Railway5mo ago
badcom

.yaml and docker-compose.override.yml

The project I'm working on has a .yaml file for some configuration and a docker-compose.override.yml file for some docker additional configs. Is it possible to load those files in a Railway project?
13 Replies
Percy
Percy5mo ago
Project ID: 2c41e4bd-c910-4316-8e83-f0c3b6c63eab
badcom
badcom5mo ago
2c41e4bd-c910-4316-8e83-f0c3b6c63eab
Brody
Brody5mo ago
railway doesn't support docker compose right now, and it's safe to say they also don't support this .yaml file you have too, so you would need to setup the project and applicable services within the ui
badcom
badcom5mo ago
Or I guess I could build my own docker image and use it instead of the one I'm pulling from the repo. This is what their template looks like: https://railway.app/new/template/b5k2mn The service I'm referring to is "LibreChat"
Brody
Brody5mo ago
you could build your own image, it would need to be a public image though, as railway does not yet support private images
badcom
badcom5mo ago
Hmm... I see
Brody
Brody5mo ago
or just give railway your repo with dockerfile and it will build from that
badcom
badcom5mo ago
I think this will be the way to go. Will report back in a bit Does it support private repos?
Brody
Brody5mo ago
yes
badcom
badcom5mo ago
It appears that this won't work 'cause railway doesn't support docker-compose. Is there a way around this?
Brody
Brody5mo ago
you would need to setup the project and applicable services within the ui
badcom
badcom5mo ago
That's what I've done. The app is already running. Now I'm trying to connect it to a Firebase storage and that process depends on those two files. I'll raise this with the repo owner. Thanks for your help!
Brody
Brody5mo ago
no problem!