amorfati
Explore posts from serversrunning a tunneling project with systemd
i'm wondering if it'd be possible to run this: https://gitlab.com/pyjam.as/tunnel
3 replies
Erase db on new service deployment
I want to erase railway postgres whenever i create a new deployment for my service. Curious if there's a simple way
An improvised solution would be to simply delete the db on deploy, create a new one using railway graphql api or cli, then update the connection string. Checking first to see if there's some other way to do this
5 replies
in a repo I have a `Dockerfile` in a subpath, when I run deploy it deploys entire repo
I have
./anvil/Dockerfile
and ./Dockerfile
. I run RAILWAY_DOCKERFILE_PATH=./anvil/Dockerfile railway up --service anvil
and it deploys everything and uses root Dockerfile. How can I deploy just that one Dockerfile I specified the path for?20 replies
unable to access service from inside or outside
i'm running this docker image:
https://github.com/foundry-rs/foundry/pkgs/container/foundry
getting this log:
i can't curl the endpoint against the public url. I'm supposed to get this when i visit the url in browser:
and can't curl it from another service against the internal private network url. My private network is
foo.railway.internal
does this mean from another service i would hit https://foo.railway.internal
? and with or without a port?4 replies
detect railway
I want to add railway to this list. What's an environment variable I can use to detect that a process is running in railway?
https://github.com/unjs/std-env/blob/main/src/providers.ts
5 replies