mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-05-07 22:43:16 +08:00
- browser_captcha_personal 改为 headless 模式 - Dockerfile.headed 去掉 xvfb/fluxbox 虚拟显示器依赖 - 新增 beta 分支 CI,推送 ghcr.io flow2api:beta 镜像 - .gitignore 忽略测试文件 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
452 B
YAML
21 lines
452 B
YAML
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
|
|
- ./tmp:/app/tmp
|
|
- ./config/setting.toml:/app/config/setting.toml
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- ALLOW_DOCKER_HEADED_CAPTCHA=true
|
|
shm_size: "2gb"
|
|
restart: unless-stopped
|