|
@@ -1,7 +1,7 @@
|
|
|
ARG BUILD_FROM=postgres:13
|
|
ARG BUILD_FROM=postgres:13
|
|
|
FROM ${BUILD_FROM}
|
|
FROM ${BUILD_FROM}
|
|
|
ARG POSTGRES_USER=postgres
|
|
ARG POSTGRES_USER=postgres
|
|
|
-COPY --chown=$POSTGRES_USER ./pgsql/pg_hba.conf /var/lib/postgresql/pg_hba.conf
|
|
|
|
|
|
|
+COPY --chown=$POSTGRES_USER ./pgsql/pg_hba_tls.conf /var/lib/postgresql/pg_hba.conf
|
|
|
COPY --chown=$POSTGRES_USER certs/server.key /var/lib/postgresql/server.key
|
|
COPY --chown=$POSTGRES_USER certs/server.key /var/lib/postgresql/server.key
|
|
|
COPY --chown=$POSTGRES_USER certs/server.crt /var/lib/postgresql/server.crt
|
|
COPY --chown=$POSTGRES_USER certs/server.crt /var/lib/postgresql/server.crt
|
|
|
COPY --chown=$POSTGRES_USER certs/ca.crt /var/lib/postgresql/root.crt
|
|
COPY --chown=$POSTGRES_USER certs/ca.crt /var/lib/postgresql/root.crt
|