2 years ago
I am encountering problems deploying a docker-compose setup on Railway. The deployment fails during the build
30 Replies
2 years 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 :
2 years 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
2 years ago
please elaborate
2 years ago
what error did it fail with?
2 years ago
ah I see now, you are trying to deploy a repo, not a docker compose file
2 years 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?
2 years ago
yes of course
2 years ago
the same way you edit any other service in railway
2 years 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.
2 years ago
railway doesn't generate any files
2 years 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 ,
2 years ago
file editing is something your application will need to handle, railway is not a file editor
2 years ago
I think I had previously answered that in my last message
2 years ago
nope, as previously mentioned, your application would need to handle file editing
2 years ago
!s
Status changed to Solved brody • over 1 year ago
