use env variable for cache duration + limit API to logged in user only
This commit is contained in:
@@ -13,6 +13,7 @@ services:
|
||||
- ./sde:/app/sde
|
||||
- ./authentication:/app/authentication
|
||||
- ./manage.py:/app/manage.py
|
||||
- ./static:/app/static
|
||||
command: sh -c "python manage.py makemigrations && python manage.py migrate"
|
||||
depends_on:
|
||||
db:
|
||||
@@ -32,6 +33,7 @@ services:
|
||||
- ./authentication:/app/authentication
|
||||
- ./manage.py:/app/manage.py
|
||||
- ./static_eve:/app/static_eve
|
||||
- ./static:/app/static
|
||||
command: ["uvicorn", "marbas.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|
||||
healthcheck:
|
||||
test: python manage.py health_check
|
||||
|
||||
Reference in New Issue
Block a user