services:
  pocket-id:
    image: ghcr.io/pocket-id/pocket-id:v2.2.0
    restart: always
    env_file: .env
    ports:
      - "3043:1411"
    volumes:
      - ${POCKETID_DATA_DIR}:/app/data
    # Optional healthcheck
    healthcheck:
      test: "curl -f http://localhost:1411/healthz"
      interval: 1m30s
      timeout: 5s
      retries: 2
      start_period: 10s
