Symptoms
A step with Postgres fails immediately. There are no or minimal logs in the Console.
Cause
Most commonly, authentication has not been set up.
The startup portion of Postgres failed. You can find the logs under services
.
Solution
Add the following properties to your environment:
POSTGRES_USER
,POSTGRES_PASSWORD
services: composition: postgres: image: postgres:11 ports: - 5432 environment: POSTGRES_USER=user POSTGRES_PASSWORD=password
You are also able to use
POSTGRES_HOST_AUTH_METHOD: trust
if desired, but this is not recommended.services: composition: postgres: image: postgres:11 ports: - 5432 environment: POSTGRES_HOST_AUTH_METHOD: trust