API/docker-compose-dev.yml

14 lines
334 B
YAML

version: '3.7'
services:
api:
build: .
env_file:
- .env
ports:
- 8000:8000
volumes:
- ./app:/app/app
- /var/run/docker.sock:/var/run/docker.sock
- ./users.json:/app/app/users.json
command: uvicorn app.main:app --host 0.0.0.0 --reload