version: '3.8' services: dwh-local: image: postgres:16 environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres ports: - '5432:5432' volumes: - dwh-local:/var/lib/postgresql/data volumes: dwh-local: driver: local