When setting POSTGRES_HOST_AUTH_METHOD=trust, PostgreSQL does not require a password. Source: https://hub.docker.com/_/postgres# However, org.springframework.boot.docker.compose.service.connection.postgres.PostgresEnvironment#extractPassword does not support it, and it needs a password anyway. Source...