I’m trying to learn how to use GitLab CI. I got GitLab to work on my local computer using Docker-compose. This is my docker-compose.yml
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'MY.HOSTNAME.COM'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://MY.HOSTNAME.COM'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.mailgun.org"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_authentication'] = "plain"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_user_name'] = "postmaster@MY.HOSTNAME.COM"
gitlab_rails['smtp_password'] = "MY_PASSWORD"
gitlab_rails['smtp_domain'] = "email.MY.HOSTNAME.COM"
gitlab_rails['gitlab_shell_ssh_port'] = 2224
ports:
- '80:80'
- '443:443'
- '2224:22'
volumes:
- '/home/ignacio/gitlab/config:/etc/gitlab'
- '/home/ignacio/gitlab/logs:/var/log/gitlab'
- '/home/ignacio/gitlab/data:/var/opt/gitlab'
Then I followed this tutorial to install GitLab Runner using docker on the same machine. This is what my local GitLab instance is showing me now:
This is the configuration page for the runner:
Alas, for some reason it is not working:
What did I do wrong?
Thanks!