mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-06-08 02:00:17 +08:00
feat: 支持token级打码代理并完善有头Docker双镜像发布
This commit is contained in:
21
docker-compose.headed.yml
Normal file
21
docker-compose.headed.yml
Normal 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
|
||||
Reference in New Issue
Block a user