Refactoring variable descriptions
This commit is contained in:
parent
31b14c6303
commit
062b192ee0
|
@ -176,14 +176,14 @@ sudo docker swarm init
|
|||
|
||||
**STEP 2**:
|
||||
On the next step you need to make the secrets. DocumentServer support username/password for postgresql access and jwt header/secret.
|
||||
If you want to use secrets for database access run command:
|
||||
If you want to use secrets for database access create secrets with command:
|
||||
|
||||
```bash
|
||||
sudo printf "your_pass" | docker secret create dbPass -
|
||||
sudo printf "your_user" | docker secret create dbUser -
|
||||
```
|
||||
NOTE: After secrets dbPass and dbUser was configured, DocumentServer will be configured automaticly for use the same secrets for postgres access.
|
||||
If you want use JSON Web Token values from secrets run command:
|
||||
NOTE: After secrets dbPass and dbUser was created, DocumentServer will be configured automaticly for use the same secrets for postgres access.
|
||||
If you want to use JSON Web Token values from secrets create secrets with command:
|
||||
|
||||
```bash
|
||||
sudo printf "secret_value" | docker secret create jwtSecret -
|
||||
|
@ -191,7 +191,7 @@ sudo printf "secret_header" | docker secret create jwtHeader -
|
|||
```
|
||||
|
||||
**STEP 3**:
|
||||
After you create the secrets you need to build the DocumentServer with command:
|
||||
After secrets was created you need to build the DocumentServer with command:
|
||||
|
||||
```bash
|
||||
sudo docker compose build
|
||||
|
|
Loading…
Reference in a new issue