封装fastAPI openAI接口规范

This commit is contained in:
jeremygan2021
2025-11-04 23:57:37 +08:00
parent a75989c3e6
commit 8a9aef87aa
15 changed files with 904 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
version: '3.8'
services:
lang-agent-api:
build:
context: .
dockerfile: Dockerfile.api
ports:
- "8488:8488"
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8488/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s