Created
January 18, 2019 13:11
-
-
Save lcube45/5df08669a4c7f618e3a88b4a4b52d2cf to your computer and use it in GitHub Desktop.
gitlab docker compose
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: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com' | |
# Add any other gitlab.rb configuration here, each on its own line | |
ports: | |
- '80:80' | |
- '443:443' | |
- '22: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