services: restoretest-shared-pg: image: postgres:18.4@sha256:8ff36f3c66371cba71d20ceedccfc3de9669a68737607888c4ef0af93abe8e39 container_name: restoretest-shared-pg restart: "no" environment: TZ: Europe/Berlin POSTGRES_USER: postgres POSTGRES_PASSWORD: restoretest-shared-pg-superuser PGDATA: /var/lib/postgresql/18/docker volumes: - /mnt/user/backups/restore-lab/shared-pg-cluster/data:/var/lib/postgresql healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 10 security_opt: - no-new-privileges:true