Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gitlab-ce with docker-compose via nginx-proxy-manager

NotificationsYou must be signed in to change notification settings

ariadata/dc-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status


1- Change ssh portvia root user (NOT 22) :

bash<(curl -Ls https://gist.github.com/pcmehrdad/2fbc9651a6cff249f0576b784fdadef0/raw)

2- Login asNormal User and clone these repository to your system :

git clone https://github.com/ariadata/dc-gitlab.git&&cd dc-gitlab&& rm -rf .git

3- editdocker-compose.yml ( lines : 7,10 ) according to your FQDN :

4- Run docker-compose file by using :

docker-compose up -d

5- set root login password for gitlab (** wait atleast 1 minute before these **):

dockerexec -it gitlab bashgitlab-rake"gitlab:password:reset[root]"

6- (optional) changegitlab smtp mail settings , use these commands to save and check:

gitlab-ctl reconfiguregitlab-rails consoleNotify.test_email('you@example.com','Message Subject','Message Body').deliver_now

7- Goto Nginx-Proxy-Manager admin panel and add this stack as proxy-host :

Domain :Your-FQDN you must pointed it before!

Schema :https

Name or IP :gitlab

Port :443

Config SSL Part

9- goto :https://Your-FQDN/

Done!

Optionals- Update access_token expire by name:

dockerexec -it gitlab bash# add extra 10 yearsgitlab-rails r"PersonalAccessToken.active.where(name: 'token_name').update_all(expires_at: 10.year.from_now)"

About

gitlab-ce with docker-compose via nginx-proxy-manager

Topics

Resources

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp