mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-08-09 15:15:17 +02:00
feat: allow custom host authentication method
This commit is contained in:
@ -6,6 +6,7 @@ services:
|
|||||||
image: docker.io/library/postgres:16.2
|
image: docker.io/library/postgres:16.2
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
|
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
|
||||||
|
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD-}
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
||||||
# (Optional) when creating a new database
|
# (Optional) when creating a new database
|
||||||
|
Reference in New Issue
Block a user