# ============================================ # KIS API Builder - Optional Gitea Integration # ============================================ # Use alongside the main docker-compose: # docker compose -f docker-compose.yml -f docker-compose.gitea.yml up -d # # For existing Gitea: skip this file, configure via Settings UI # ============================================ services: gitea: image: gitea/gitea:1.22-rootless container_name: kis-api-builder-gitea restart: unless-stopped environment: - GITEA__database__DB_TYPE=sqlite3 - GITEA__server__ROOT_URL=${GITEA_URL:-http://localhost:${GITEA_PORT:-8010}} - GITEA__server__HTTP_PORT=3000 - GITEA__security__INSTALL_LOCK=true - GITEA__service__DISABLE_REGISTRATION=true volumes: - gitea_data:/var/lib/gitea - gitea_config:/etc/gitea ports: - "${GITEA_PORT:-8010}:3000" networks: - kis-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/api/v1/version"] interval: 15s timeout: 5s retries: 5 start_period: 30s app: environment: GITEA_URL: ${GITEA_URL:-http://gitea:3000} depends_on: gitea: condition: service_healthy volumes: gitea_data: gitea_config: