diff --git a/README.md b/README.md index 16dec1e3..bf454b4f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/contrib/docker-swarm/gitlab.config b/contrib/docker-swarm/gitlab.configs similarity index 100% rename from contrib/docker-swarm/gitlab.config rename to contrib/docker-swarm/gitlab.configs diff --git a/contrib/docker-swarm/gitlab.secret b/contrib/docker-swarm/gitlab.secrets similarity index 100% rename from contrib/docker-swarm/gitlab.secret rename to contrib/docker-swarm/gitlab.secrets