Docker GitLab

docker run --privileged --name gitlab-redis -d
--volume /srv/docker/gitlab/redis:/var/lib/redis
sameersbn/redis:latest

docker run --privileged --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-14

docker run --privileged --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'
--env 'GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alpha-numeric-string'
--volume /srv/docker/gitlab/gitlab:/home/git/data
registry.aliyuncs.com/khan/gitlab-zh:8.5.4
docker exec postgresql ps -ef

docker inspect postgresql

docker logs -f gitlab_app

邮件发送

SMTP_ENABLED=true
SMTP_DOMAIN=smtp.qq.com
SMTP_HOST=smtp.exmail.qq.com
SMTP_PORT=25
SMTP_STARTTLS=true
[email protected]
SMTP_PASS=911011zm,.
SMTP_AUTHENTICATION=plain
[email protected]
[email protected]

refer
refer
refer
配置
生命周期

Username: root
Password: 5iveL!fe

版本记录:
wiki 中文标题BUG

你可能感兴趣的:(Docker GitLab)