From 31b14c6303725fa1f829e7a106c46cc20cc51346 Mon Sep 17 00:00:00 2001 From: danilapog Date: Fri, 29 Jul 2022 16:39:00 +0300 Subject: [PATCH] Refactoring variable descriptions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4841bc..bbbe704 100644 --- a/README.md +++ b/README.md @@ -176,19 +176,19 @@ 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 only for database access run: +If you want to use secrets for database access run command: ```bash sudo printf "your_pass" | docker secret create dbPass - sudo printf "your_user" | docker secret create dbUser - ``` -If you want use JWT from secrets: +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: ```bash sudo printf "secret_value" | docker secret create jwtSecret - sudo printf "secret_header" | docker secret create jwtHeader - ``` -NOTE: after secrets dbPass and dbUser is gonna be configured, DocumentServer will be configured automaticly for use the same secrets for postgres access. **STEP 3**: After you create the secrets you need to build the DocumentServer with command: