[![Deploy to Tutum](https://s.tutum.co/deploy-to-tutum.svg)](https://dashboard.tutum.co/stack/deploy/)
# sameersbn/gitlab:7.13.2
- [Introduction](#introduction)
- [Version](#version)
- [Changelog](Changelog.md)
- [Contributing](#contributing)
- [Issues](#issues)
- [Announcements](https://github.com/sameersbn/docker-gitlab/issues/39)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Persistence](#persistence)
- [Database](#database)
- [PostgreSQL (Recommended)](#postgresql)
- [External PostgreSQL Server](#external-postgresql-server)
- [Linking to PostgreSQL Container](#linking-to-postgresql-container)
- [MySQL](#mysql)
- [Internal MySQL Server](#internal-mysql-server)
- [External MySQL Server](#external-mysql-server)
- [Linking to MySQL Container](#linking-to-mysql-container)
- [Redis](#redis)
- [Internal Redis Server](#internal-redis-server)
- [External Redis Server](#external-redis-server)
- [Linking to Redis Container](#linking-to-redis-container)
- [Mail](#mail)
- [SSL](#ssl)
- [Generation of Self Signed Certificates](#generation-of-self-signed-certificates)
- [Strengthening the server security](#strengthening-the-server-security)
- [Installation of the SSL Certificates](#installation-of-the-ssl-certificates)
- [Enabling HTTPS support](#enabling-https-support)
- [Configuring HSTS](#configuring-hsts)
- [Using HTTPS with a load balancer](#using-https-with-a-load-balancer)
- [Establishing trust with your server](#establishing-trust-with-your-server)
- [Installing Trusted SSL Server Certificates](#installing-trusted-ssl-server-certificates)
- [Deploy to a subdirectory (relative url root)](#deploy-to-a-subdirectory-relative-url-root)
- [OmniAuth Integration](#omniauth-integration)
- [Google](#google)
- [Twitter](#twitter)
- [GitHub](#github)
- [GitLab](#gitlab)
- [BitBucket](#bitbucket)
- [SAML](#saml)
- [External Issue Trackers](#external-issue-trackers)
- [Mapping host user and group](#mapping-host-user-and-group)
- [Piwik](#piwik)
- [Available Configuration Parameters](#available-configuration-parameters)
- [Maintenance](#maintenance)
- [Creating Backups](#creating-backups)
- [Restoring Backups](#restoring-backups)
- [Automated Backups](#automated-backups)
- [Amazon Web Services (AWS) Remote Backups](#amazon-web-services-aws-remote-backups)
- [Rake Tasks](#rake-tasks)
- [Upgrading](#upgrading)
- [Shell Access](#shell-access)
- [References](#references)
# Introduction
Dockerfile to build a [GitLab](https://about.gitlab.com/) container image.
## Version
Current Version: `7.13.2`
# Contributing
If you find this image useful here's how you can help:
- Send a Pull Request with your awesome new features and bug fixes
- Help new users with [Issues](https://github.com/sameersbn/docker-gitlab/issues) they may encounter
- Support the development of this image with a [donation](http://www.damagehead.com/donate/)
# Issues
Docker is a relatively new project and is active being developed and tested by a thriving community of developers and testers and every release of docker features many enhancements and bugfixes.
Given the nature of the development and release cycle it is very important that you have the latest version of docker installed because any issue that you encounter might have already been fixed with a newer docker release.
For ubuntu users I suggest [installing docker](https://docs.docker.com/installation/ubuntulinux/) using docker's own package repository since the version of docker packaged in the ubuntu repositories are a little dated.
Here is the shortform of the installation of an updated version of docker on ubuntu.
```bash
sudo apt-get purge docker.io
curl -s https://get.docker.io/ubuntu/ | sudo sh
sudo apt-get update
sudo apt-get install lxc-docker
```
Fedora and RHEL/CentOS users should try disabling selinux with `setenforce 0` and check if resolves the issue. If it does than there is not much that I can help you with. You can either stick with selinux disabled (not recommended by redhat) or switch to using ubuntu.
You may also set `DEBUG_ENTRYPOINT=true` to enable debugging of the entrypoint script, which could help you pin point any configuration issues.
If using the latest docker version and/or disabling selinux does not fix the issue then please file a issue request on the [issues](https://github.com/sameersbn/docker-gitlab/issues) page.
In your issue report please make sure you provide the following information:
- The host distribution and release version.
- Output of the `docker version` command
- Output of the `docker info` command
- The `docker run` command you used to run the image (mask out the sensitive bits).
# Prerequisites
Your docker host needs to have 1GB or more of available RAM to run GitLab. Please refer to the GitLab [hardware requirements](https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/requirements.md#hardware-requirements) documentation for additional information.
# Installation
Pull the image from the docker index. This is the recommended method of installation as it is easier to update image. These builds are performed by the **Docker Trusted Build** service.
```bash
docker pull sameersbn/gitlab:7.13.2
```
You can also pull the `latest` tag which is built from the repository *HEAD*
```bash
docker pull sameersbn/gitlab:latest
```
Alternately you can build the image locally.
```bash
git clone https://github.com/sameersbn/docker-gitlab.git
cd docker-gitlab
docker build --tag=$USER/gitlab .
```
# Quick Start
The quickest way to get started is using [docker-compose](https://docs.docker.com/compose/).
```bash
wget https://raw.githubusercontent.com/sameersbn/docker-gitlab/master/docker-compose.yml
docker-compose up
```
Alternately, you can manually launch the `gitlab` container and the supporting `postgresql` and `redis` containers by following this three step guide.
Step 1. Launch a postgresql container
```bash
docker run --name gitlab-postgresql -d \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-2
```
Step 2. Launch a redis container
```bash
docker run --name gitlab-redis -d \
--volume /srv/docker/gitlab/redis:/var/lib/redis \
sameersbn/redis:latest
```
Step 3. Launch the gitlab container
```bash
docker run --name gitlab -d \
--link gitlab-postgresql:postgresql --link gitlab-redis:redisio \
--publish 10022:22 --publish 10080:80 \
--env 'GITLAB_PORT=10080' --env 'GITLAB_SSH_PORT=10022' \
--volume /srv/docker/gitlab/gitlab:/home/git/data \
sameersbn/gitlab:7.13.2
```
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
__NOTE__: Please allow a couple of minutes for the GitLab application to start.
Point your browser to `http://localhost:10080` and login using the default username and password:
* username: **root**
* password: **5iveL!fe**
You should now have the GitLab application up and ready for testing. If you want to use this image in production the please read on.
*The rest of the document will use the docker command line. You can quite simply adapt your configuration into a `docker-compose.yml` file if you wish to do so.*
# Configuration
## Persistence
GitLab is a code hosting software and as such you don't want to lose your code when the docker container is stopped/deleted. To avoid losing any data, you should mount a volume at,
* `/home/git/data`
SELinux users are also required to change the security context of the mount poi
没有合适的资源?快使用搜索试试~ 我知道了~
Docker镜像大礼包,Linux运维安装工具及脚本,K8S构建,各个环境构建部署等,包括不限于于shell、python,运维
共1338个文件
sh:369个
md:185个
conf:155个
0 下载量 126 浏览量
2024-10-11
17:21:39
上传
评论
收藏 880.02MB ZIP 举报
温馨提示
Docker镜像大礼包,Linux运维安装工具及脚本,K8S构建,各个环境构建部署等,包括不限于于shell、python,运维脚本、docker脚本、各种工具库,收集各类运维常用工具脚本,实现快速安装nginx、mysql、pg、apache、php、redis、tomcat、gcc、gitlib、mq、dfs、k8s、jdk等
资源推荐
资源详情
资源评论
收起资源包目录
Docker镜像大礼包,Linux运维安装工具及脚本,K8S构建,各个环境构建部署等,包括不限于于shell、python,运维 (1338个子文件)
jenkins-pipline.sh_build-script-examples.2 12KB
Linux-Tutorial.7z 15.31MB
OracleMysqlGen.7z 1.17MB
alpine-java-dockerfile 1KB
alpine-singleapp-dockerfile 1KB
alpine-sshd-dockerfile 2KB
alpine-tomcatapp-dockerfile 1KB
authz 32B
autossh 4KB
default.conf.bak 528B
ipsec3.bat 4KB
ipsec4.bat 3KB
windows2003_drop_port.bat 3KB
windows2003_drop_port1.bat 3KB
ipsec5.bat 2KB
ipsec2.bat 2KB
ipsec1.bat 1KB
ipsec.bat 972B
windows2008_drop_port - test.bat 771B
mysql.bat 654B
reset_mysql_root_password.bat 532B
firewall.bat 524B
windows2008_drop_port1.bat 508B
windows2008_drop_port.bat 508B
firewall_del.bat 365B
backup.bat 346B
nagios.cfg 44KB
templates.cfg 10KB
commands.cfg 7KB
ansible.cfg 570B
Linux中文man在线手册.chm 1.48MB
00-Linux命令大全(修改版).chm 346KB
MySQL.chm 200KB
chroot_list 3B
vsftpd.chroot_list 3B
.classpath 2KB
.classpath 2KB
docker.cmd 19KB
my.cnf 2KB
mysql.cnf 290B
mysqld_charset.cnf 222B
mysqld_charset.cnf 221B
mysqld_charset.cnf 221B
mysqld_charset.cnf 221B
my.cnf 147B
mysql-slave-1.cnf 94B
mysql-master.cnf 81B
colorecho 327B
colorecho 327B
org.eclipse.wst.common.component 470B
org.eclipse.wst.common.component 470B
composer 1.77MB
redis.conf 81KB
php-fpm.conf 22KB
redis1.conf 21KB
www.conf 18KB
httpd.conf 18KB
httpd.conf 16KB
pure-ftpd.conf 11KB
httpd-ssl.conf 10KB
php_www.conf 10KB
php_www.conf 10KB
supervisord.conf 9KB
apache2.conf 7KB
vsftpd.conf 6KB
vsftpdcentosi686.conf 6KB
default-ssl.conf 6KB
nginx.conf 6KB
vsftpd.conf 5KB
httpd-languages.conf 5KB
gmond_8656_gmond.conf 5KB
gmond_8656.conf 5KB
gmond_8655.conf 5KB
php-fpm.conf 4KB
www.aqzt.com_https_A+.conf 4KB
oschina.conf 4KB
httpd-mpm.conf 4KB
httpd-autoindex.conf 3KB
nginx.conf 3KB
ecshop.conf 3KB
ecshop.conf 2KB
httpd-default.conf 2KB
nginx_a.conf 2KB
nginx.conf 2KB
httpd-multilang-errordoc.conf 2KB
pagespeed.conf 2KB
nginx.conf 2KB
nginx.conf 2KB
oschina.conf 2KB
www.aqzt.com_https_A.conf 2KB
my.conf 2KB
nginx.conf 2KB
httpd-dav.conf 2KB
bw_mysqlbk.conf 2KB
bw_mysqlbk.conf 2KB
proxy.conf 2KB
nginx.conf 2KB
redis.default.conf 2KB
nginx.conf 2KB
web-ssl.com.conf 2KB
共 1338 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
baidu_37552881
- 粉丝: 1332
- 资源: 124
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 数据结构与算法:快速排序算法原理与实现
- 使用Java Swing窗口来实现《单词记忆游戏 CS 版》可以提供一个更直观和用户友好的界面 包括显示单词、隐藏单词以及接收用户输入的文本框
- 计算机科学中冒泡排序算法的Python实现与解析
- 堆排序算法详解与Python实现
- matlab实现的各种算法源代码100%好用.zip
- 数据结构-排序算法PDF
- 基于python的双目立体视觉及三维重建、源码+文档+全部资料+高分项目.zip
- 基于AD-Census匹配原理实现双目立体视觉匹配、源码+文档+全部资料+高分项目.zip
- 毕业设计-基于双目立体视觉平台上的图像匹配以及目标物体的距离测量技术,图像特征提取部分研究了 SIFT 算法和 SURF 算法、源码+文档+全部资料+高分项目.zip
- utelnetd rk3588移植
- 基于SIFT特征匹配的双目立体视觉测距、源码+文档+全部资料+高分项目.zip
- 操作系统-pv操作PDF
- FortiClientInstaller-Windows-Enterprise-5.6.5.exe
- 检测人工智能生成的人脸,图像数据集,人脸数据集(包含真实人脸和人工智能生成的合成人脸)
- matlab SPEI干旱指数计算 nc tif各种 数据,多个时间尺度 2000到2023年 1 3 6 12 尺度
- 新建文件夹 (2).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功