30 lines
1 KiB
Scheme
30 lines
1 KiB
Scheme
gitlab:
|
|
- pkg: installed
|
|
mysql:
|
|
- pkg: installed
|
|
gitlab_nginx:
|
|
- pkg: installed
|
|
#manage /etc/webapps/gitlab/gitlab.yml
|
|
#manage /etc/webapps/gitlab-shell/config.yml
|
|
#manage /etc/webapps/gitlab/resque.yml
|
|
#manage /etc/redis.conf
|
|
#manage /etc/tempfiles.d/redis.conf
|
|
#manage /etc/webapps/gitlab/database.yml
|
|
#manage /etc/nginx/conf.d/gitlab.conf
|
|
#add users git and gitlab to redis group
|
|
|
|
#initialize redis database w/:
|
|
#su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:setup RAILS_ENV=production"
|
|
|
|
#configure gitlab user for git
|
|
#git config --global user.name "Actaeus Curabitur"
|
|
#git config --global user.email "actcur@actcur.com"
|
|
#git config --global core.autocrlf "input"
|
|
|
|
#verify perms for repos are right
|
|
#chmod -R ug+rwX,o-rwx /var/lib/gitlab/repositories/
|
|
#chmod -R ug-s /var/lib/gitlab/repositories
|
|
#find /var/lib/gitlab/repositories/ -type d -print0 | xargs -0 chmod g+s
|
|
|
|
#start and enable redis
|
|
#start and enable gitlab.target, gitlab-sidekiq, gitlab-unicorn, and gitlab-workhorse
|