services: devcontainer: container_name: devcontainer build: context: . volumes: - ../../:/workspaces:cached command: sleep infinity working_dir: /workspaces environment: ZITADEL_DATABASE_POSTGRES_HOST: db ZITADEL_EXTERNALSECURE: false db: container_name: db image: postgres:17.0-alpine3.19 restart: unless-stopped volumes: - postgres-data:/var/lib/postgresql/data environment: PGUSER: postgres POSTGRES_PASSWORD: postgres healthcheck: test: [ "CMD-SHELL", "pg_isready" ] interval: "10s" timeout: "30s" retries: 5 start_period: "20s" ports: - "5432:5432" volumes: postgres-data: