Created
August 17, 2019 00:44
-
-
Save cubenuri/455199a7fecd38cb1a8170a1c2f2787c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: | |
container_name : gitlab | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://gitlab.example.com' | |
ports: | |
- '80:80' | |
- '443:443' | |
- '1022:22' | |
volumes: | |
- '/data/gitlab/config:/etc/gitlab' | |
- '/data/gitlab/logs:/var/log/gitlab' | |
- '/data/gitlab/data:/var/opt/gitlab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment