API/docker-compose-dev.yml

14 lines
334 B
YAML
Raw Normal View History

2021-12-03 12:00:30 +00:00
version: '3.7'
services:
2022-01-16 07:04:39 +00:00
api:
2021-12-03 12:00:30 +00:00
build: .
env_file:
- .env
ports:
- 8000:8000
volumes:
- ./app:/app/app
2022-01-16 07:04:39 +00:00
- /var/run/docker.sock:/var/run/docker.sock
- ./users.json:/app/app/users.json
2021-12-03 12:00:30 +00:00
command: uvicorn app.main:app --host 0.0.0.0 --reload