mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
readme: removed the Putting it all together section
This commit is contained in:
parent
08fb91ec79
commit
16abc86877
24
README.md
24
README.md
@ -36,7 +36,6 @@
|
||||
- [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)
|
||||
- [Putting it all together](#putting-it-all-together)
|
||||
- [OmniAuth Integration](#omniauth-integration)
|
||||
- [Google](#google)
|
||||
- [Twitter](#twitter)
|
||||
@ -631,29 +630,6 @@ GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/g
|
||||
|
||||
**Note**: *The `GITLAB_RELATIVE_URL_ROOT` parameter should always begin with a slash and* **SHOULD NOT** *have any trailing slashes.*
|
||||
|
||||
### Putting it all together
|
||||
|
||||
```bash
|
||||
docker run --name=gitlab -d -h git.local.host \
|
||||
--volume=/srv/docker/gitlab/gitlab:/home/git/data \
|
||||
--volume=/srv/docker/gitlab/mysql:/var/lib/mysql \
|
||||
--env='GITLAB_HOST=git.local.host' --env='GITLAB_EMAIL=gitlab@local.host' \
|
||||
--env='SMTP_USER=USER@gmail.com' --env='SMTP_PASS=PASSWORD' \
|
||||
sameersbn/gitlab:7.11.0
|
||||
```
|
||||
|
||||
If you are using an external mysql database
|
||||
|
||||
```bash
|
||||
docker run --name=gitlab -d -h git.local.host \
|
||||
--volume=/srv/docker/gitlab/gitlab:/home/git/data \
|
||||
--env='DB_HOST=192.168.1.100' --env='DB_NAME=gitlabhq_production' \
|
||||
--env='DB_USER=gitlab' --env='DB_PASS=password' \
|
||||
--env='GITLAB_HOST=git.local.host' --env='GITLAB_EMAIL=gitlab@local.host' \
|
||||
--env='SMTP_USER=USER@gmail.com' --env='SMTP_PASS=PASSWORD' \
|
||||
sameersbn/gitlab:7.11.0
|
||||
```
|
||||
|
||||
### OmniAuth Integration
|
||||
|
||||
GitLab leverages OmniAuth to allow users to sign in using Twitter, GitHub, and other popular services. Configuring OmniAuth does not prevent standard GitLab authentication or LDAP (if configured) from continuing to work. Users can choose to sign in using any of the configured mechanisms.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user