My fig.yml for gitlab-docker.
gitlab:
image: sameersbn/gitlab:7.5.1
ports:
- "10080:80"
- "10022:22"
environment:
- DB_USER=gitlab
- DB_PASS=your_password
- DB_NAME=gitlabhq_production
- DB_HOST=your_host_ip
- DB_PORT=3306
- DB_TYPE=mysql
- REDIS_HOST=your_host_ip
- REDIS_PORT=6379
- GITLAB_RELATIVE_URL_ROOT=/git
- GITLAB_HOST=your_domain_name
volumes:
- /var/git:/home/git/data