Ayush
Ayush
RRailway
Created by Ayush on 3/28/2024 in #✋|help
Build Projects from Different Dockerfiles
Hi guys, Quick question - is it possible to build multiple different projects from dockerfiles that exist in the same directory? Given the following folder structure:
.
└── src/
└── server/
├── Dockerfile
├── Dockerfile.test
├── Service/
├── Domain/
└── API/
.
└── src/
└── server/
├── Dockerfile
├── Dockerfile.test
├── Service/
├── Domain/
└── API/
My API project is successfully building in railway. The root directory is configured as "/src/server/" . My Service project however is not building (same root directory configuration as above) when trying to target Dockerfile.test which i specified as a service variable: RAILWAY_DOCKERFILE_PATH=Dockerfile.test any ideas on what im doing wrong? Perhaps im misunderstanding this guide: https://docs.railway.app/guides/dockerfiles
8 replies
RRailway
Created by Ayush on 10/22/2023 in #✋|help
.NET API Memory Leak
No description
58 replies
RRailway
Created by Ayush on 10/6/2023 in #✋|help
the database server at xxx.proxy.net:10037 was reached but timed out
Hi guys, i building a new project using this template: https://github.com/railwayapp-templates/nextjs-prisma I've noticed that after a few days when the web app rebuilds it fails to connect to the postgres container and as a result the build fails. It feels like this error may be a red herring because i can definitely connect to the container and see the data etc. The fix that i've been getting away with is to restart the postgres container. Then the nextjs builds fine. Any ideas?
17 replies
RRailway
Created by Ayush on 8/20/2023 in #✋|help
Docker Service CRON Restart?
Hi guys, i have a single docker service running. I'd like to restart this service periodically via the Railway CRON functionality. Is this achivable? I am not too sure how to get my container_id
0 0 * * * docker restart <container_name_or_id>
0 0 * * * docker restart <container_name_or_id>
41 replies