Skip to content
Snippets Groups Projects
Commit ccdb6623 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch 'update-docker-compose-example' into 'master'

Avoid docker-compose error 'Additional property web is not allowed'

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6461



Merged-by: default avatarAchilleas Pipinellis <axil@gitlab.com>
Approved-by: default avatarAchilleas Pipinellis <axil@gitlab.com>
Co-authored-by: default avatarKatrin Leinweber <kleinweber@gitlab.com>
parents 7d4ef891 c801d55c
No related branches found
No related tags found
1 merge request!85Merged upstream 15.5.0+rc42.ce.0
The latest docker guide can be found here: [GitLab Docker images](/doc/docker/README.md).
The latest Docker guide can be found here: [GitLab Docker images](https://docs.gitlab.com/ee/install/docker.html).
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.example.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.example.com'
ports:
- '80:80'
- '443:443'
- '22:22'
volumes:
- '/srv/gitlab/config:/etc/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment