FastAPI-Oauth2/docker-compose-dev.yml

14 lines
278 B
YAML

version: '3.7'
services:
app:
build: .
env_file:
- .env
ports:
- 8000:8000
tty: true
stdin_open: true
volumes:
- ./app:/app/app
command: uvicorn app.main:app --host 0.0.0.0 --reload