Add users, docker.sock
This commit is contained in:
parent
9a254575f2
commit
26490887ee
|
@ -1,14 +1,14 @@
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
api:
|
||||||
build: .
|
build: .
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
tty: true
|
|
||||||
stdin_open: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./app:/app/app
|
- ./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
|
command: uvicorn app.main:app --host 0.0.0.0 --reload
|
Loading…
Reference in New Issue