services: postgres: image: postgres:16 container_name: tidyindex-postgres environment: POSTGRES_USER: tidyindex POSTGRES_PASSWORD: tidyindex POSTGRES_DB: tidyindex ports: - "35434:5432" volumes: - tidyindex-pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U tidyindex -d tidyindex"] interval: 5s timeout: 5s retries: 5 volumes: tidyindex-pgdata: