feat(database): connect postgres via socket and read config from env _FILE secrets (#2061)

* feat(database): connect postgres via socket

* feat(config): read env var secrets from file

* docs: explain env var secrets

* refactor: generate postgres dsn
This commit is contained in:
ze0s 2025-05-05 21:15:24 +02:00 committed by GitHub
parent 24648e45f7
commit fe4f385a22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 345 additions and 76 deletions

View file

@ -1,6 +1,8 @@
# build web
FROM node:20.17.0-alpine3.20 AS web-builder
RUN corepack enable
# Update and enable Corepack
RUN npm install -g corepack@latest && \
corepack enable
WORKDIR /web