Last active
February 15, 2019 18:22
-
-
Save dodbrian/59406bd3126349cc9580ecfa1131c536 to your computer and use it in GitHub Desktop.
Gitlab Docker
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' | |
container_name: gitlab | |
restart: always | |
hostname: 'localhost' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://localhost:32700' | |
# Add any other gitlab.rb configuration here, each on its own line | |
ports: | |
- '32700:32700' | |
- '32701:443' | |
- '32702:22' | |
volumes: | |
- 'gitlab_config:/etc/gitlab' | |
- 'gitlab_logs:/var/log/gitlab' | |
- 'gitlab_data:/var/opt/gitlab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment