PolpOnline
PolpOnline
RRailway
Created by PolpOnline on 11/20/2024 in #✋|help
Puppeteer glibc version
Hi, i'm getting this error when launching the puppeteer chrome I saw this thread about it and added the nixpacks version in nixpacks.toml but no luck. Here's my nixpacks.toml
# see https://discord.com/channels/713503345364697088/1156732499515428956
[build]
nixpacksVersion = "1.15.0"

[phases.setup]
nixPkgs = ['...', 'nodePackages_latest.ts-node']

[variables]
NIXPACKS_NODE_VERSION = '20'

[phases.install]
cmds = ['pnpm install --frozen-lockfile', 'cd client && pnpm install --frozen-lockfile']

[phases.build]
cmds = ['cd client && pnpm run build-bypass-errors']

[start]
cmd = 'ts-node --project tsconfig.json --swc index.ts'
# see https://discord.com/channels/713503345364697088/1156732499515428956
[build]
nixpacksVersion = "1.15.0"

[phases.setup]
nixPkgs = ['...', 'nodePackages_latest.ts-node']

[variables]
NIXPACKS_NODE_VERSION = '20'

[phases.install]
cmds = ['pnpm install --frozen-lockfile', 'cd client && pnpm install --frozen-lockfile']

[phases.build]
cmds = ['cd client && pnpm run build-bypass-errors']

[start]
cmd = 'ts-node --project tsconfig.json --swc index.ts'
9 replies
RRailway
Created by PolpOnline on 10/16/2024 in #✋|help
Nixpacks: copy files from sibiling directory in a monorepo
Hi, I have to deploy my monorepo app, the frontend (residing in /src/frontend) imports bindings from /src/backend/bindings, how do i make sure to include those in Nixpacks?
5 replies
RRailway
Created by PolpOnline on 9/28/2024 in #✋|help
Question about postgres checkpoints
No description
17 replies
RRailway
Created by PolpOnline on 9/12/2024 in #✋|help
New builder: Config file src/backend/nixpacks.toml does not exist
Hi, I tried enabling the new builder environment but I'm getting this error. The root directory is set to src/backend and the file src/backend/nixpacks.toml does in fact exist I need the new builder environment because i need private network access during the build phase.
6 replies
RRailway
Created by PolpOnline on 9/7/2024 in #✋|help
Does setting DATABASE_URL instead of DATABASE_PRIVATE_URL affect egress usage?
As the title says, I have a service that uses sqlx and I had to set DATABASE_URL instead of DATABASE_PRIVATE_URL, because otherwise it wouldn't work. Currently I'm seeing slight usage on the database egress, even if I'm not connecting directly to the db frequently. I was curious whether I would get different egress readings depending on which type of database url I was using.
12 replies
RRailway
Created by PolpOnline on 5/17/2024 in #✋|help
Can I safely build my Rust program with "-Ctarget-cpu=native"?
As the title says, can I add this flag to my program expecting it to run just fine in every case (is the build machine always the same as the deploy machine?). I am using Nixpacks to deploy
5 replies
RRailway
Created by PolpOnline on 5/13/2024 in #✋|help
Can I use `mold` as a linker for my Rust project?
This is more of a nixpacks question, but how do i use mold as the Rust linker in my project, currently linking takes ages
13 replies