EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
91a8c9f9
Commit
91a8c9f9
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
add traefik secrets to operators guide
parent
cd24c1d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!28
Documentation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
documentation/operator-guide/configuration.rst
+15
-4
15 additions, 4 deletions
documentation/operator-guide/configuration.rst
with
17 additions
and
6 deletions
README.md
+
2
−
2
View file @
91a8c9f9
...
...
@@ -222,10 +222,10 @@ Sensitive environment variables are not included in the .env files, and must be
printf
"<OS_PASSWORD_DOWNLOAD>"
| docker secret create OS_PASSWORD_DOWNLOAD -
printf
"<DJANGO_PASSWORD>"
| docker secret create DJANGO_PASSWORD -
printf
"<OS_PASSWORD>"
| docker secret create OS_PASSWORD -
# for production base stack deployment, additonal basic authentication credentials list need to be created
# for production base stack deployment, addit
i
onal basic authentication credentials list need to be created
# format of such a list used by traefik are username:hashedpassword (MD5, SHA1, BCrypt)
sudo
apt-get
install
apache2-utils
htpasswd
-n
<username>
>>
auth_list.txt
htpasswd
-n
b
<username>
<password>
>>
auth_list.txt
docker secret create BASIC_AUTH_USERS_AUTH auth_list.txt
docker secret create BASIC_AUTH_USERS_APIAUTH auth_list_api.txt
```
...
...
This diff is collapsed.
Click to expand it.
documentation/operator-guide/configuration.rst
+
15
−
4
View file @
91a8c9f9
...
...
@@ -217,16 +217,27 @@ Sensitive variables
Since environment variables include credentials that are considered sensitive,
avoiding their exposure inside ``.env`` files would be the right practice.
In order to manage transmiting sensitive data securely into the respective containers,
docker secrets with the values of these variables should be created.
c
urrently, three
variables
s
ha
ll be passed as
secrets before deploying the swarm:
In order to manage transmit
t
ing sensitive data securely into the respective containers,
docker secrets with the values of these variables should be created.
C
urrently, three
variables ha
ve to be saved as docker
secrets before deploying the swarm:
``OS_PASSWORD``, ``OS_PASSWORD_DOWNLOAD`` and ``DJANGO_PASSWORD``.
An example of creating ``OS_PASSWORD`` as secret using the following comand :
Two other docker secrets need to be created for traefik basic authentication:
``BASIC_AUTH_USERS_AUTH`` - used for access to services, ``BASIC_AUTH_USERS_APIAUTH`` - used for admin access to kibana and traefik.
These secrets should be text files containing a list of username:hashedpassword (MD5, SHA1, BCrypt) pairs.
An example of creating ``OS_PASSWORD`` as secret using the following command :
.. code-block:: bash
printf "<password_value>" | docker secret create OS_PASSWORD -
An example of creating ``BASIC_AUTH_USERS_AUTH`` secret:
.. code-block:: bash
htpasswd -nb user1 3vYxfRqUx4H2ar3fsEOR95M30eNJne >> auth_list.txt
htpasswd -nb user2 YyuN9bYRvBUUU6COx7itWw5qyyARus >> auth_list.txt
docker secret create BASIC_AUTH_USERS_AUTH auth_list.txt
Configuration Files
-------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment