CI/CD with Gitlab Runner and Docker-Compose

Published: 05 August 2018
on channel: SBCODE
145,285
1.4k

Blog :   / auto-devops-with-gitlab-ci-and-docker-compose  

Digital Ocean - https://m.do.co/c/23d277be9014 ($50 free credit for 30 days)
Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA

GitLab - https://gitlab.com/seanwasere/Seans-A...

This video is a short tutorial about setting up continuous integration and deployment using GitLab-runner and docker-compose.

Install GitLab Runner. See Instructions here
https://docs.gitlab.com/runner/instal...
or
  / installing-gitlab-runner-on-ubuntu-and-centos  


After you install and register GitLab runner,
$ sudo apt install docker.io

$ sudo nano /etc/sudoers
add the line below
gitlab-runner ALL=(ALL) NOPASSWD: ALL

$ sudo usermod -aG docker gitlab-runner

$ sudo gitlab-runner restart

Now make a change to your code, commit and push.

See Video for what happens next.

#cicd
#gitlab
#dockerCompose


On this page of the site you can watch the video online CI/CD with Gitlab Runner and Docker-Compose with a duration of hours minute second in good quality, which was uploaded by the user SBCODE 05 August 2018, share the link with friends and acquaintances, this video has already been watched 145,285 times on youtube and it was liked by 1.4 thousand viewers. Enjoy your viewing!