first commit

This commit is contained in:
zcr
2026-02-05 09:58:43 +08:00
parent b03fa352b5
commit d39761bdea

View File

@@ -1,14 +1,13 @@
version: '3.8'
services:
app:
image: python:3.11-slim
aida_server:
container_name: "FiDA_${SERVE_ENV}_Server"
build:
context: .
dockerfile: Dockerfile
working_dir: /app
volumes:
- ./:/app
command: bash -c "pip install -r requirements.txt && uvicorn interface.api_fastapi:app --host 0.0.0.0 --port 8000"
- ./app:/app/app
- ./.env:/app/.env
- /etc/localtime:/etc/localtime:ro
ports:
- "8000:8000"
environment:
- APP_MODE=fastapi
- PYTHONUNBUFFERED=1
# 可选:向量数据库服务或其他依赖可以在此添加
- "${SERVE_PORT}:7777"