# Disposable Gitea for the opt-in integration suite (#66).
# Pinned image for reproducibility — bump deliberately, never use :latest.
# Usage: tests/integration/gitea-integration up|token|down
services:
  gitea:
    image: gitea/gitea:1.22.6
    container_name: gitea-tools-integration
    environment:
      - GITEA__security__INSTALL_LOCK=true
      - GITEA__server__ROOT_URL=http://localhost:3003/
      - GITEA__server__HTTP_PORT=3000
      - GITEA__service__DISABLE_REGISTRATION=true
      - GITEA__log__LEVEL=Warn
    ports:
      - "3003:3000"
    volumes:
      - gitea-integration-data:/data
volumes:
  gitea-integration-data:
