Skip to content

Instantly share code, notes, and snippets.

@dinushchathurya
Last active February 16, 2022 06:52
Show Gist options
  • Save dinushchathurya/2fb83a2cc20ba533d9dd4f150e7000a3 to your computer and use it in GitHub Desktop.
Save dinushchathurya/2fb83a2cc20ba533d9dd4f150e7000a3 to your computer and use it in GitHub Desktop.
Laravel GitLab CI/CD
sudo gitlab-runner status
Docker-Image: docker:19.03.12
sudo vim /etc/gitlab-runner/config.toml
privileged: ture
sudo apt-get install docker docker-compose -y
sudo vim/etc/ssh/sshd_config
(password authentication: true)
sudo adduser developer
sudo -aG docker developer
su developer
ssh-keygen -b 4096
cat ~/..ssh/id_rsa.pub >> ~/.ssh/authorized_keys
sudo userdel developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment