Environment variables

This commit is contained in:
2026-10-20 16:24:01 -04:00
parent 4cac26d84b
commit 7734d8ae90
29 changed files with 267 additions and 38 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:24-alpine
RUN apk add --no-cache openssl
COPY deploy/postgres/setup.mjs /setup.mjs
CMD ["node", "/setup.mjs"]
CMD ["node", "/setup.mjs"]
+1 -1
View File
@@ -1,2 +1,2 @@
FROM postgres:17-alpine
COPY deploy/postgres/pg_hba.conf /etc/wikideck/pg_hba.conf
COPY deploy/postgres/pg_hba.conf /etc/wikideck/pg_hba.conf
+1 -1
View File
@@ -4,4 +4,4 @@ hostnossl all all all reject
hostssl wikideck_custody postgres all scram-sha-256
hostssl wikideck_custody custody_owner all scram-sha-256
hostssl wikideck_custody custody_runtime all scram-sha-256
host all all all reject
host all all all reject
+1 -1
View File
@@ -41,4 +41,4 @@ if (existsSync(marker)) {
chmodSync('/secrets/tls/server.crt', 0o644);
put(marker, 'wikideck-local-pg-v1', 0o644);
console.log('Provisioned fresh local sandbox credentials and verified-TLS certificate; no secrets logged.');
}
}