a year ago
I am encountering problems deploying a docker-compose setup on Railway. The deployment fails during the build
30 Replies
a year ago
docker-compose is only going to work for compose files that deploy from images, if your compose file deploys from Dockerfiles you would need to manually deconstruct it into separate railway services.
this is the docker compose file that I am using :
a year ago
gotcha, all images, images don't have build steps, I'm not sure how it's failing during build if there isn't a build
a year ago
please elaborate
a year ago
what error did it fail with?
a year ago
ah I see now, you are trying to deploy a repo, not a docker compose file
a year ago
you simply drag and drop the compose file onto the canvas
The data , connect, server are generated , can I edit them directly from railway?
a year ago
yes of course
a year ago
the same way you edit any other service in railway
a year ago
you asked how to edit railway services, no? -- you cant edit files on railway as railway is a cloud hosting platform, not a file editor.
a year ago
railway doesn't generate any files
a year ago
if you need to edit the staged changes you can go ahead and do that how you normally would make changes
when run docker-compose up on this d-c file it will generate the four folder auto, I need to edit them ,
a year ago
file editing is something your application will need to handle, railway is not a file editor
a year ago
I think I had previously answered that in my last message
a year ago
nope, as previously mentioned, your application would need to handle file editing
a year ago
!s
Status changed to Solved brody • about 1 year ago
