Joaquim
WWasp-lang
•Created by Joaquim on 11/15/2024 in #đŸ™‹questions
pg-boss can't find certificates
Yesterday I was in "please god just let it deploy" mode so I don't remember exactly what worked and I don't want to redo the process right now.
I don't think I was able to pass the certificate to pg boss. Ended up setting
"ssl":{"rejectUnauthorized":false}
in PG_BOSS_NEW_OPTIONS
and removing the certs path from pgboss url connectionString
.
So now I have ssl in my webapp connection to my db but pgboss, that also runs in the same machine, doesn't:p
Need to fix that when I have the time.7 replies
WWasp-lang
•Created by Joaquim on 11/15/2024 in #đŸ™‹questions
Access folder in project root from dockerfile
Deploying to fly.io using
wasp deploy fly deploy
(not launch).
But yeah I guess I can run wasp build
, copy the certs to .wasp/build
and run wasp deploy fly deploy
!
This makes sense right? Thanks8 replies
WWasp-lang
•Created by abiroot on 11/5/2024 in #đŸ™‹questions
I need help in debugging resource exhausted (Too many open files)
It also happens to me with wasp build if I don't
ulimit -n 200000
15 replies
WWasp-lang
•Created by Joaquim on 11/15/2024 in #đŸ™‹questions
Access folder in project root from dockerfile
I don't think option 1 works because the root folder dockerfile is just appended to the built dockerfile. So, the directory of the docker build will still be
.wasp/build
8 replies
WWasp-lang
•Created by Joaquim on 11/15/2024 in #đŸ™‹questions
Adding svgr plugin to the vite config
Yeah for sure!
This is what I do.
I'm unsure on what happens during the build process though... I have to think more about it
Run:
npm install --save-dev vite-plugin-svgr
Download an icon like:
https://www.svgrepo.com/download/535115/alien.svg
somewhere into src/
import it anywhere in react like:
import Icon from "./src/icon.svg?react
For typescript safety, not sure if it's required to replicate well:
7 replies