16 days ago
im tired and i apologize for the lack of details but yeah...
3 Replies
16 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
16 days ago
Hello,
We do not support docker compose, I will go ahead and open this thread up to the community so that they may be able to help you, though you will need to provide more details on what you are trying to deploy.
Status changed to Awaiting User Response Railway • 16 days ago
15 days ago
Railway doesn’t support docker-compose
, which is why you’re getting the command not found
error. Instead, you’ll need to use a single Dockerfile
for your service. Make sure the file is literally named Dockerfile
(with a capital D and no extension), since Railway looks for that when building your project.
So the steps are basically:
Take the service you want to deploy from your
docker-compose.yml
.Write a
Dockerfile
for it.Deploy that directly to Railway.
NOTE: if you have multiple Dockerfiles for each of the service, make sure you specify the dockerfile path in the project env variable named RAILWAY_DOCKERFILE_PATH
If you had multiple services in your compose file, you’d need to create a separate Railway project (or service) for each one.