Add REST API server, Docker support, and CI pipeline

- Add FastAPI-based REST API server (api_server.py)
- Add Dockerfile and docker-compose.yaml for containerized deployment
- Add Gitea Actions CI workflow for building and pushing images
- Refactor CLI to support dual-server SSH (bouncer + crowdsec)
- Update dependencies with FastAPI and uvicorn
- Update CLAUDE.md and README.md with full documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
kaffa
2026-02-09 11:51:03 +09:00
parent fee4636363
commit 6a26c0c4e4
11 changed files with 1219 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
[project]
name = "cf-bouncer-manager"
version = "0.1.0"
description = "Add your description here"
version = "1.3.0"
description = "CrowdSec Cloudflare Worker Bouncer 도메인 관리 CLI/API"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
@@ -9,4 +9,6 @@ dependencies = [
"requests>=2.32.5",
"rich>=14.3.2",
"typer>=0.21.1",
"fastapi>=0.115.0",
"uvicorn>=0.34.0",
]