mirror of
https://github.com/Lyxminxx/jast.git
synced 2026-10-11 20:57:43 +02:00
Wire JWT lifetimes to settings, read secret key from env
This commit is contained in:
1 parent
b95303caa9
commit
6f68f71ce3
3 files changed
+46
-21
No files matched your search
@@ -8,4 +8,8 @@ services:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
JWT_ACCESS_DAYS: "14"
|
||||
JWT_REFRESH_DAYS: "30"
|
||||
# DJANGO_SECRET_KEY: "..." # else auto-generated into ./data/secret_key.txt
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user