Commit c075e721 authored by Bryant Finney's avatar Bryant Finney Committed by Achilleas Pipinellis

Add missing properties to example compose files (#348888)

parent f8495767
...@@ -141,6 +141,8 @@ install, and upgrade your Docker-based GitLab installation: ...@@ -141,6 +141,8 @@ install, and upgrade your Docker-based GitLab installation:
1. Create a `docker-compose.yml` file (or [download an example](https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/docker/docker-compose.yml)): 1. Create a `docker-compose.yml` file (or [download an example](https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/docker/docker-compose.yml)):
```yaml ```yaml
version: '3.6'
services:
web: web:
image: 'gitlab/gitlab-ee:latest' image: 'gitlab/gitlab-ee:latest'
restart: always restart: always
...@@ -176,7 +178,9 @@ HTTP and SSH port. Notice how the `GITLAB_OMNIBUS_CONFIG` variables match the ...@@ -176,7 +178,9 @@ HTTP and SSH port. Notice how the `GITLAB_OMNIBUS_CONFIG` variables match the
`ports` section: `ports` section:
```yaml ```yaml
web: version: '3.6'
services:
web:
image: 'gitlab/gitlab-ee:latest' image: 'gitlab/gitlab-ee:latest'
restart: always restart: always
hostname: 'gitlab.example.com' hostname: 'gitlab.example.com'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment