Documentation update on Docker config and secrets file env and example fix (#1980)

* fixed typos in referenced config and secret files

* updated documentation on external configs and secrets and added note on hard-coded config keys

* updated documentation link to sample config

* updated documentation link to sample config

* updated documentation links to config keys

* updated documentation links to config keys

* updated documentation links to config keys
This commit is contained in:
Hannes Römer 2019-09-26 06:26:12 +02:00 committed by Niclas Mietz
parent 7ca29dfce0
commit ea1fce2c4b
3 changed files with 7 additions and 1 deletions

View File

@ -1072,7 +1072,13 @@ and then both docker-compose and Docker Swarm can import them into your gitlab c
On startup, the gitlab container will source env vars from a config file labeled `gitlab-config`, and then a secrets file labeled `gitlab-secrets` (both mounted in the default locations).
See the exmample `config/docker-swarm/docker-compose.yml` file, and the example `gitlab.config` and `gitlab.secrets` file.
See the example [`contrib/docker-swarm/docker-compose.yml`](./contrib/docker-swarm/docker-compose.yml) file, and the
example `gitlab.configs` and `gitlab.secrets` file.
You may as well choose file names other than the example source files (`gitlab.configs` and `gitlab.secrets`) and update
the `file: ./gitlab.configs` and `file: ./gitlab.secrets` references accordingly. But do not alter the config
keys [`gitlab-configs`](contrib/docker-swarm/docker-compose.yml#L158) and
[`gitlab-secrets`](contrib/docker-swarm/docker-compose.yml#L162) as they are currently
[hardcoded](./assets/runtime/functions#L4:L9) and thus must be kept as in the example.
If you're not using one of these files, then don't include its entry in the docker-compose file.