diff --git a/example/images/paperless-ngx/Dockerfile b/example/images/paperless-ngx/Dockerfile index ca3d888..4797928 100644 --- a/example/images/paperless-ngx/Dockerfile +++ b/example/images/paperless-ngx/Dockerfile @@ -115,7 +115,7 @@ RUN set -euxo pipefail &&\ chown paperless:paperless /data /input COPY root/ / -COPY --from=danielberteaud/alpine:24.1-5 /usr/local/bin/minit /usr/local/bin/minit +COPY --from=danielberteaud/alpine:24.1-6 /usr/local/bin/minit /usr/local/bin/minit EXPOSE ${PAPERLESS_PORT} USER paperless diff --git a/templates/dbenv b/templates/dbenv index 64e9245..7e70ac2 100644 --- a/templates/dbenv +++ b/templates/dbenv @@ -5,7 +5,7 @@ vim: syntax=hcl data =<<_EOT [[- if ne .postgres.pooler.engine "none" ]] PAPERLESS_DBHOST=127.0.0.1 -PAPERLESS_DBPORT=6432 +PAPERLESS_DBPORT=[[ .postgres.pooler.port ]] PAPERLESS_DBUSER=[[ .instance ]] PAPERLESS_DBPASS={{ env "NOMAD_ALLOC_ID" }} [[- else ]]