snöw
Explore posts from serversTemplate-based Postgres doesn't get correct env variables for PR environments
Hey!
We have PR enviroments set up for our project.
The project has a web app (from GH) and two template based services - postgres and redis.
When a new PR environment is created, the main web app correctly gets it's env variables from the base branch, but not postgres or redis.
We migrated from plugins, this wasn't the case there. Any ideas?
4 replies
Cannot reach Postgres via internal network in same project
We're migrating our Postgres from the plugin system to the new template based one, ran into an issue:
During a build of a service it needs to connect to a database.
Using the public url this works without a problem, but the internal url (which would be preferred) cannot be reached for some reason.
How should I go about debugging this? They are both in the same project
32 replies
Cache SSG helper response
I'm using
createProxySSGHelpers
in GSSP with ssr: false
in the global config.
I trying to cache a response of a public procedure called there, but I'm running into a dead end.
I tried following the "App caching" example in the docs (https://trpc.io/docs/caching#app-caching), but the responseMeta
option is unavailable if ssr: false
. (At least TS tells me so)
Is it somehow possible to still have the response cached?1 replies
How to exclude a default nixpack package from the build?
I'm trying to deploy a Spring Boot application which uses JDK11.
Railway incorrectly detected JDK8, causing the build to fail.
I added
NIXPACKS_PKGS=jdk11
, which added jdk11 to the build setup, but didn't remove jdk8
This means that the build is now failing due to this collision error:
How can I remove JDK8 from the build setup?
Or is there a better way of defining the JDK version?18 replies
Yarn install failing on new builds
Hey!
The yarn install step is failing for my new builds, seems to be a cache issue:
#11 2.413 error An unexpected error occurred: "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz: ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-@types-json5-0.0.29-ee28707ae94e11d2b827bcbe5270bcea7f3e71ee-integrity/node_modules/@types/json5/.yarn-tarball.tgz'"
5 replies