version: "3" services: postgres: image: postgres restart: always environment: POSTGRES_HOST_AUTH_METHOD: trust ports: - "5432:5432"