testcontainers-python
testcontainers-python copied to clipboard
Support more environment variables in PostgreSQL container
With the move from md5 to scram-sha-256 in the PostgreSQL 14.x containers, I find myself needing to set the POSTGRES_HOST_AUTH_METHOD and potentially POSTGRES_INITDB_ARGS. Seems like it would be good to flesh out the rest of the currently supported environment variables of the official PostgreSQL container. The ones not yet supported are:
- POSTGRES_INITDB_ARGS
- POSTGRES_INITDB_WALDIR
- POSTGRES_HOST_AUTH_METHOD
- PGDATA