Safe ways to specify postgres parameters for healthchecks in docker compose
I'm using secrets to manage username, password, and dbname with a Docker stack using Postgres as a DB. I now want to use the healthcheck feature that Docker provides. docker-compose.yml: x-db-secrets: &db_secrets - psql_user - psql_pass - psql_dbname services: db: image: postgres:13.1 volumes: - postgres_data:/var/lib/postgresql/data/ environment: - POST