version: "3.9" services: mongo: image: "mongo" ports: - "27017:27017" api: build: . ports: - "8000:8000" env_file: - .env