services: db: image: postgres restart: always environment: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_USER: postgres ports: - 5432:5432