need help

gjorgjimlPRO

2 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

0 Replies

gjorgjimlPRO

2 months ago

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


2 months ago

Simply write a Dockerfile, and then build with that Dockefile locally


gjorgjimlPRO

2 months ago

i tried its not working


gjorgjimlPRO

2 months ago

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


2 months ago

Yep you would want to have individual services for the services in your docker compose


gjorgjimlPRO

2 months ago

i know that bec railway does not support Docker Compose wrapper approach


gjorgjimlPRO

2 months ago

now do i try to build with python


2 months ago

You'd likely want to have a Dockerfile to build your app


gjorgjimlPRO

2 months ago

okay but i dont want 5 diff docker files for front end then for backend then for worker then itd


gjorgjimlPRO

2 months ago

i want single service that works


gjorgjimlPRO

2 months ago

i been having issues for past 6j


gjorgjimlPRO

2 months ago

6h its not fun


gjorgjimlPRO

2 months ago

and my main framework is frappe framework


gjorgjimlPRO

2 months ago

i can just go to there cloud and soltuion is done but i dont want to do that i want it on railway


2 months ago

I don't see why that's an issue, sorry, those are completely different apps, they would need different Dockefiles


gjorgjimlPRO

2 months ago

is there a way that Docker Compose wrapper approach works ?


2 months ago

A single service for everything is bad practice, even if it was possible.


gjorgjimlPRO

2 months ago

i just need it for a demo to work then i will build a template with 5 diff services and redis and mariadb


2 months ago

Best to set it up correctly from the get go


gjorgjimlPRO

2 months ago

oh lord here we go all nigther


gjorgjimlPRO

2 months ago

thanks but why do i dont build with python approch?


gjorgjimlPRO

2 months ago

its still works right?


2 months ago

I'm sorry I don't understand, can you rephrase?


gjorgjimlPRO

2 months ago

if i build a local project with python not with docker and use the cli will it work with railpack


2 months ago

You can definitely try Railpack