services: postgres: image: postgres:16-alpine environment: POSTGRES_DB: compor_hub POSTGRES_USER: compor POSTGRES_PASSWORD: compor_local_password ports: - "5433:5432" volumes: - compor_postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U compor -d compor_hub"] interval: 5s timeout: 5s retries: 10 volumes: compor_postgres_data: