Environment variables
This commit is contained in:
@@ -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,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user