services: postgres-18-alpine: container_name: postgres-18-alpine image: postgres:18-alpine restart: "no" environment: # No real data lives here - a thin self-hosted-registry mirror build # target so other stacks can pull the result. trust auth is fine # since nothing reaches it but the health check below - Postgres # refuses to start at all without some password/auth method set. - POSTGRES_HOST_AUTH_METHOD=trust healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 10 start_period: 10s