version: '3.8' services: api: image: tiangolo/uvicorn-gunicorn-fastapi:python3.9 volumes: - ./api:/app ports: - '8000:80'