feat: 支持token级打码代理并完善有头Docker双镜像发布

This commit is contained in:
genz27
2026-03-03 20:03:25 +08:00
parent cc6036ad37
commit 6d4cb8bf9a
15 changed files with 373 additions and 70 deletions

21
docker-compose.headed.yml Normal file
View File

@@ -0,0 +1,21 @@
version: '3.8'
services:
flow2api-headed:
build:
context: .
dockerfile: Dockerfile.headed
image: flow2api:headed
container_name: flow2api-headed
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./config/setting.toml:/app/config/setting.toml
environment:
- PYTHONUNBUFFERED=1
- ALLOW_DOCKER_HEADED_CAPTCHA=true
- DISPLAY=:99
- XVFB_WHD=1920x1080x24
shm_size: "2gb"
restart: unless-stopped