This needs : dockerhost + nginx-proxy-manager
bash <(curl -Ls https://gist.github.com/pcmehrdad/2fbc9651a6cff249f0576b784fdadef0/raw)
git clone https://github.com/ariadata/dc-gitlab.git && cd dc-gitlab && rm -rf .git
docker-compose up -d
docker exec -it gitlab bash
gitlab-rake "gitlab:password:reset[root]"
6- (optional) change gitlab smtp mail settings , use these commands to save and check:
gitlab-ctl reconfigure
gitlab-rails console
Notify.test_email('[email protected]', 'Message Subject', 'Message Body').deliver_now
Domain :
Your-FQDN
you must pointed it before!Schema :
https
Name or IP :
gitlab
Port :
443
Config SSL Part
Done!
docker exec -it gitlab bash
# add extra 10 years
gitlab-rails r "PersonalAccessToken.active.where(name: 'token_name').update_all(expires_at: 10.year.from_now)"