services: web: build: . ports: - "8000:8000" volumes: - .:/app # 本地改动实时生效 command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload