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