Last active
November 3, 2016 14:24
-
-
Save gutocosta/072fbe9b36a51b19b1fa975ce6b0d366 to your computer and use it in GitHub Desktop.
Docker Compose para Gitlab
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
version: '2' | |
services: | |
gitlab-eteabs: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'xxxxx.intranet.xxxx.com.br' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://xxxxx.intranet.xxxx.com.br' | |
gitlab_rails['gitlab_shell_ssh_port'] = 2224 | |
ports: | |
- "8081:80" | |
- "8043:443" | |
- "2224:2224" | |
volumes: | |
- '/home/user/docker/gitlab/config:/etc/gitlab' | |
- '/home/user/docker/gitlab/logs:/var/log/gitlab' | |
- '/home/user/docker/gitlab/data:/var/opt/gitlab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment