Kvasir
Kvasir
RRailway
Created by Kvasir on 11/1/2024 in #✋|help
Bare Meta East Issue
I went to try the metal east region today but it seemed to ignore my config-as-code and forced things onto nixpacks instead of my dockerfiles. Is that expected?
48 replies
RRailway
Created by Kvasir on 5/12/2024 in #✋|help
Is there a way to force redeploy if the last one was older than X days?
I usually limit redeploys based on watch patterns in a railway.toml file, but I would like to automatically force a redeploy if the last one was more than X days ago. Is there a straightforward way to accomplish this?
10 replies
RRailway
Created by Kvasir on 8/8/2023 in #✋|help
Exported metrics from Postgres/Redis?
I assume the answer is no, but is there currently a way to scrape or otherwise export metrics from the railway redis or postgres services?
5 replies
RRailway
Created by Kvasir on 8/1/2023 in #✋|help
Deployment skipped incorrectly
I have a service with the following railway.toml file:
[build]
builder = "dockerfile"
dockerfilePath = "docker/railway-auth.dockerfile"
watchPatterns = [
"bin/lib/**",
"bin/kratos",
"bin/start",
"config/kratos/**",
"config/oathkeeper/auth/**",
"config/config-kratos.toml",
"config/honeytail.yaml.tmpl",
"config/otel_collector.yaml.tmpl",
"docker/app.*",
"docker/base.*",
"docker/railway-auth.*",
]

[deploy]
healthcheckPath = "/health/ready"
healthcheckTimeout = 60
restartPolicyType = "always"
[build]
builder = "dockerfile"
dockerfilePath = "docker/railway-auth.dockerfile"
watchPatterns = [
"bin/lib/**",
"bin/kratos",
"bin/start",
"config/kratos/**",
"config/oathkeeper/auth/**",
"config/config-kratos.toml",
"config/honeytail.yaml.tmpl",
"config/otel_collector.yaml.tmpl",
"docker/app.*",
"docker/base.*",
"docker/railway-auth.*",
]

[deploy]
healthcheckPath = "/health/ready"
healthcheckTimeout = 60
restartPolicyType = "always"
. I pushed a commit with a change to the config/config-kratos.toml file, but it was skipped due to no matching files.
7 replies
RRailway
Created by Kvasir on 7/31/2023 in #✋|help
Deployments (still) stuck in Waiting
This has been going on pretty much all weekend, sadly, despite the several incidents and them being "resolved". Until I recently tried an empty commit to kick the deployment process and try again, I had deployments sitting in "Waiting" for 5h+. The one that was an attempt to kick the process is currently at 25m and counting (despite the github actions flows being done for at least 10 minutes). Is there anything I can do to help this other than wait and hope railway starts being semi-reliable?
28 replies
RRailway
Created by Kvasir on 4/5/2023 in #✋|help
How do I give railway credentials to pull from a private container registry?
I am trying to deploy a project and I am getting 403 errors when the railway builder tries to pull my base image from a private registry
9 replies
RRailway
Created by Kvasir on 4/5/2023 in #✋|help
Is there a way to specify a dockerfile target?
I don't see anything about it in the documentation. If there isn't, is there a bug/feature/something I can watch to see progress on it? And if not, is there somewhere to submit a request for that?
14 replies
RRailway
Created by Kvasir on 3/10/2023 in #✋|help
Deployment Services Question(s)
Hi. I am considering using railway to host an app instead of running on DO and had some questions that I could not find answers to in the docs immediately. 1. It appears that railway handles SSL termination and my app can just speak plain http. Is that correct? 2. It looks like railway doesn't do any sort of load balancing across multiple instances of a service. Is that corret? 3. If 2 is correct, are the deployments blue/green in some fashion, or is there some amount of downtime on every deployment? 4. Is there an established pattern for running multiple instances of an app if the popularity gets to a point where that would be warranted (is it just deal with configuring an nginx myself as a load balancer)? 5. If I want to use go 1.19 or 1.20, am I currently restricted to using a dockerfile setup that I maintain myself? Thanks in advance.
18 replies