On this page
folder
GitLab Server
GitLab is a web-based Git repository that provides CI/CD capabilities and more. It is a complete DevSecOps platform.
Quickstart
-
Download example repository
git clone https://gitlab.com/chadstack.dev/examples/gitlab.git
-
Update the next variables with your own custom values
export CHAD_DOMAIN="your-gitlab-domain.com" export CHAD_TOKEN="your-authelia-token" export CHAD_TIMEZONE="America/New_York"
-
Update the files using the
sed
commandcd gitlab sed -i "s/gitlab.chadstack.dev/$CHAD_DOMAIN/g" env/prod.env sed -i "s/America/Mexico_City/$CHAD_TIMEZONE/g" conf/base.rb sed -i "s/example_authelia_token/$CHAD_TOKEN/g" conf/prod.rb
-
Start the containers using make or docker compose directly
make start
Update git remote
First you need to create the project on your GitLab instance and get the clone URL
export GIT_ORIGIN_URL="https://your-gitlab-instance.com/path/to/project.git"
Update the git origin
git remote rm origin && git remote add origin $GIT_ORIGIN_URL
Commit and Push
git add .
git commit -m 'feat: update variables'
git push -u origin master
Features
Mailing
Please update the file conf/prod.rb
with your SMTP and IMAP credentials.
Backups
Please update the file conf/backup.rb
with your Object Storage connection (like AWS S3 buckets).