mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-05-07 06:19:24 +08:00
1. add Gemini /models and /v1beta/models discovery endpoints for newapi compatibility 2. persist tmp cache in Docker and lock cache_timeout=0 behavior with regression tests 3. refine image generation status flow to show captcha verification after uploads
16 lines
337 B
YAML
16 lines
337 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
flow2api:
|
|
image: ghcr.io/thesmallhancat/flow2api:latest
|
|
container_name: flow2api
|
|
ports:
|
|
- "38000:8000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./tmp:/app/tmp
|
|
- ./config/setting.toml:/app/config/setting.toml
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
restart: unless-stopped
|