Skip to content

Instantly share code, notes, and snippets.

@gutocosta
Last active November 3, 2016 14:24
Show Gist options
  • Save gutocosta/072fbe9b36a51b19b1fa975ce6b0d366 to your computer and use it in GitHub Desktop.
Save gutocosta/072fbe9b36a51b19b1fa975ce6b0d366 to your computer and use it in GitHub Desktop.
Docker Compose para Gitlab
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