feat: allow custom host authentication method

This commit is contained in:
Christoph Schug 2024-03-02 16:33:39 +01:00
parent 89dd1f5a08
commit 16a628e111

View File

@ -6,6 +6,7 @@ services:
image: docker.io/library/postgres:16.2
environment:
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD-}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
# (Optional) when creating a new database