10 months ago
what is the best way to config toml for my project and build localy docker works need to get it work on railway 131bf844-4663-494f-83ef-a4dee049710b
25 Replies
i need this to work or i need to move to another platform but i dont want to do that bec i love railway i hope we cna make it work
10 months ago
Simply write a Dockerfile, and then build with that Dockefile locally
Decide on your approach: Either adapt to Railway’s model or switch to a platform with Docker Compose support
If staying with Railway:
Remove the Docker Compose wrapper approach
this is like what i got to a point now i will try to build with python and have DB and Redis as a service but its 1 am need to go to sleep if it does not work tommrow i need to think about solutions fast bec i have a meeting with client and i already said railway is the hosting provider
10 months ago
Yep you would want to have individual services for the services in your docker compose
10 months ago
You'd likely want to have a Dockerfile to build your app
okay but i dont want 5 diff docker files for front end then for backend then for worker then itd
i can just go to there cloud and soltuion is done but i dont want to do that i want it on railway
10 months ago
I don't see why that's an issue, sorry, those are completely different apps, they would need different Dockefiles
10 months ago
A single service for everything is bad practice, even if it was possible.
i just need it for a demo to work then i will build a template with 5 diff services and redis and mariadb
10 months ago
Best to set it up correctly from the get go
10 months ago
I'm sorry I don't understand, can you rephrase?
if i build a local project with python not with docker and use the cli will it work with railpack
10 months ago
You can definitely try Railpack