mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
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:
parent
7ca29dfce0
commit
ea1fce2c4b
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user