Created
June 1, 2018 12:26
-
-
Save juanitoddd/38024e0a5e32cb72edea393974e9f1ce 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
gitlab: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'localhost' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://localhost:9090' | |
gitlab_rails['gitlab_shell_ssh_port'] = 2224 | |
ports: | |
- '9090:9090' | |
- '2224:22' | |
volumes: | |
- '/srv/gitlab/config:/etc/gitlab' | |
- '/srv/gitlab/logs:/var/log/gitlab' | |
- '/srv/gitlab/data:/var/opt/gitlab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment