Refactoring variable descriptions
This commit is contained in:
parent
36b6addbff
commit
4103346331
|
@ -189,7 +189,7 @@ If you want to use JSON Web Token values from secrets create secrets with comman
|
|||
|
||||
```bash
|
||||
sudo printf "secret_value" | docker secret create jwtSecret -
|
||||
sudo printf "secret_header" | docker secret create jwtHeader -
|
||||
sudo printf "header_value" | docker secret create jwtHeader -
|
||||
```
|
||||
|
||||
**STEP 3**:
|
||||
|
|
|
@ -19,8 +19,8 @@ services:
|
|||
#- JWT_IN_BODY=true
|
||||
#- JWT_SECRET=secret
|
||||
#- JWT_HEADER=Authorization
|
||||
# ↑ Uncomment two upper strings to use jwt_secret and jwt_header without docker secrets.
|
||||
# ↓ Or uncomment two strings below to use jwt_secret and jwt_header with docker secrets that you create.
|
||||
# ↑ Uncomment two upper strings to use jwt_secret and jwt_header values by default withou docker secrets.
|
||||
# ↓ Or uncomment two strings below to use jwt_secret and jwt_header with values from docker secrets that you create.
|
||||
#- JWT_SECTER_FILE=/run/secrets/jwtSecret
|
||||
#- JWT_HEADER_FILE=/run/secrets/jwtHeader
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue