Add users, docker.sock

This commit is contained in:
Jimmy 2022-01-16 07:04:39 +00:00
parent 9a254575f2
commit 26490887ee
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
version: '3.7'
services:
app:
api:
build: .
env_file:
- .env
ports:
- 8000:8000
tty: true
stdin_open: true
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