diff options
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/container_registry.md | 12 | ||||
-rw-r--r-- | doc/administration/job_traces.md | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/administration/container_registry.md b/doc/administration/container_registry.md index fefc505e5bb..04f52783d22 100644 --- a/doc/administration/container_registry.md +++ b/doc/administration/container_registry.md @@ -217,7 +217,7 @@ look like: 1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and configure it with the following settings: - ``` + ```yaml registry: enabled: true host: registry.gitlab.example.com @@ -259,7 +259,7 @@ Registry application itself. 1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and set `enabled` to `false`: - ``` + ```yaml registry: enabled: false ``` @@ -291,7 +291,7 @@ the Container Registry by themselves, follow the steps below. 1. Open `/home/git/gitlab/config/gitlab.yml`, find the `default_projects_features` entry and configure it so that `container_registry` is set to `false`: - ``` + ```yaml ## Default project features settings default_projects_features: issues: true @@ -346,7 +346,7 @@ The default location where images are stored in source installations, is 1. Open `/home/git/gitlab/config/gitlab.yml`, find the `registry` entry and change the `path` setting: - ``` + ```yaml registry: path: shared/registry ``` @@ -453,7 +453,7 @@ In the examples below we set the Registry's port to `5001`. 1. Open the configuration file of your Registry server and edit the [`http:addr`][registry-http-config] value: - ``` + ```yaml http addr: localhost:5001 ``` @@ -510,7 +510,7 @@ You can use GitLab as an auth endpoint and use a non-bundled Container Registry. 1. Open `/home/git/gitlab/config/gitlab.yml`, and edit the configuration settings under `registry`: - ``` + ```yaml ## Container Registry registry: diff --git a/doc/administration/job_traces.md b/doc/administration/job_traces.md index 126d78be79d..957916893d7 100644 --- a/doc/administration/job_traces.md +++ b/doc/administration/job_traces.md @@ -27,7 +27,7 @@ To change the location where the job logs will be stored, follow the steps below 1. Edit `/etc/gitlab/gitlab.rb` and add or amend the following line: - ``` + ```ruby gitlab_ci['builds_directory'] = '/mnt/to/gitlab-ci/builds' ``` |