bc 🐧🪺
Explore posts from serversPR Environment Selective Services
In a Railway project, is there a way to choose which services are and are not duplicated in PR environments? For example, I have prod data backup job services that only should run on prod and don't need to run in any PR envs, but they get installed in all PR envs because the base env is prod
If not, consider this a feature request (I can send in #🤗|feedback )! My other idea was to make a separate project with services I don't want duplicated in PR envs.
7 replies
Postgres Backup Retention Policy
I am planning on backing up a postgres server (running in container on Railway) to MinIO (running in container on Railway as well) with cron as the execution layer to initiate backups. Any suggestions for setting up backup retention policies so I don't fill MinIO with an unnecessary number of backup files? Hosted/managed providers like AWS RDS and Azure Database offer built-in retention control, but im not sure how to do this with self-hosted postgres & minio on railway
10 replies
S3 database backup upload failure
Project ID: 23ed6b6a-6136-418a-97cc-5a45a9a559ba
Using the template here (https://github.com/railwayapp-templates/postgres-s3-backups), I suppose I have the environment variables messed up. The job works great until the upload. I get the following error:
Any ideas? I can share env vars if needed. I am uploading over S3 protocol to a MinIO bucket hosted in the same Railway project
6 replies
Cross-organization service transfer
Is it possible to transfer a service between two organizations (admin on both), or do I have to remake the service in the other organization? I would like to keep the same generated Railway URL if possible so would rather transfer it. Only see the ability to transfer from personal services
10 replies
RRefine
•Created by exotic-emerald on 5/17/2024 in #ask-any-question
Is there any reason to use Refine if it ends up being more code?
I trialed refine in an existing admin UI (Next.js, React Hook Form, React Query) powered by a GraphQL API. I noticed rather quickly that the code ended up being more (~2x) than I currently had for CRUD operations. I am curious if there are other reasons to use Refine aside from the CRUD components/hooks? I suppose auth but that I would rather proxy to another provider (currently using OIDC with
next-auth
)5 replies
NPM CLI Releases out of sync
5 replies
GitHub Actions deploy failure
Using the GH Actions demo here: https://blog.railway.app/p/github-actions#lights,-camera,-action, I get
on the deploy step.
railway
bin is installed in the previous step so not sure what the issue is. Does anyone have an alternative GH Action manifest they use, or has had success with https://github.com/marketplace/actions/railway-deploy or similar?9 replies
Containerfile support
I understand Railway automatically detects and use
Dockerfile
s in service roots (https://docs.railway.app/guides/dockerfiles). Does it also automatically detect and use Containerfile
s?6 replies
Compose Alternatives
I understand Railway does not currently support Docker Compose files directly. Are there alternatives to hosting a complex Compose stack on Railway using e.g. Railway config (https://docs.railway.app/deploy/config-as-code) or similar, or is it best to look for another cloud provider for a Compose stack? Basically, curious about alternatives that don't involve manually creating a lot of Railway services based on individual docker images 1 by 1
10 replies
Bun
Hey, I am running a service on Bun on Railway. The deployment is crashing after a successful build. I am using the Node.js nixpacks builder (v1.17.0), Node.js 18.17.1.
Head of the logs:
Everything works locally with the same environment. I did have to add
"better-sqlite3"
to trustedDependencies
due to Bun security (https://bun.sh/guides/install/trusted)13 replies
Pro plan prepay
Is there a way to prepay for usage on the Pro plan, similar to the credits option (https://docs.railway.app/reference/pricing#credits) for the Hobby plan?
23 replies
Can't invite user to team
Hey, I sent an email about this last week, I tried inviting a user to a Railway team I created, and a Railway account was created for their email address, however they have no option to connect to nor visibility of the team. Could you please connect that account to the team as an admin? Thank you! (email address & team name redacted for privacy)
8 replies
Data security
Hey, I am proposing moving a client from AWS to Railway and they are mostly on board, however they are concerned about data security. The persistent data involves patient/medical data
Does Railway have something similar to https://aws.amazon.com/security that outlines security railguards, audits, etc. that I can show the client?
11 replies