Generate SECRET_KEY_BASE with magic env
This commit is contained in:
parent
151274a137
commit
15a2ba5704
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ services:
|
||||||
image: swetrix/swetrix-api:v4.0.2
|
image: swetrix/swetrix-api:v4.0.2
|
||||||
environment:
|
environment:
|
||||||
# Required
|
# Required
|
||||||
- SECRET_KEY_BASE=${SECRET_KEY_BASE:?}
|
- SECRET_KEY_BASE=$SERVICE_BASE64_64_SECRETKEYBASE
|
||||||
|
|
||||||
# Optional
|
# Optional
|
||||||
- DISABLE_REGISTRATION=${DISABLE_REGISTRATION:-false}
|
- DISABLE_REGISTRATION=${DISABLE_REGISTRATION:-false}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue