
Running GitLab CE on sloppy.io Docker Container
Some weeks ago I found the European Docker Hosting provider sloppy.io and I'm still impressed by the wonderful UI / UX to administer and run Docker containers online so simple.
As a fun project I tried to run a GitLab CE instance on Sloppy and after some drawbacks, I finally managed to run it!
Here are the pieces:
Image Path: gitlab/gitlab-ce
Image Tag: latest
CMD Command: [empty]
This is a public app: Yes
Protocol: https
Domain URL: gitlab.cloud.example.com (your domain)
Port: 80
SSL: Enabled
Environment variables:
GITLAB_OMNIBUS_CONFIG: external_url 'https://gitlab.cloud.example.com'; nginx['listen_port'] = 80; nginx['listen_https'] = false;
EXTERNAL_URL: https://gitlab.cloud.example.com
Memory limit should be set to at least 2GB, but my experience shows that this is typically NOT enough for GitLab CE. I'd suggest 4 GB, otherwise you may experience errors like this:
502 Whoops, GitLab is taking too much time to respond.
And in log:
2020-06-12 15:12:26 > ==> /var/log/gitlab/gitlab-workhorse/current <==
2020-06-12 15:12:30 > tail: error reading '/var/log/gitlab/gitlab-workhorse/current': Cannot allocate memory
Anyway if you're planning to run a GitLab CE at Sloppy.io, then the "agile" package might be the perfect solution for you: https://sloppy.io/de/agile/
Anhang | Größe |
---|---|
sloppy_gitlab_docker.png | 48.73 KB |
- Anmelden um Kommentare zu schreiben
Euch gefällt mein Blog?
Vielleicht hilft mir auch ein Buch, euch zukünftig (noch) bessere Artikel zu bieten? (Amazon Wunschliste)
Gerne bewerte ich auch ab und zu einmal unabhängig ein Produkt.
Ich freue mich über jede Art der Unterstützung in Form von Kommentaren, Lob oder Kritik.
Auf zum Kontaktformular!
Zu meinem Google+ Profil
Julian Pustkuchen, M. Sc. Wirtschaftsinformatik ist passionierter Software- & Webentwickler mit den Schwerpunkten Softwaredesign, Objektorientierung sowie Usability- & Ablaufoptimierung bei webks. Ein weiterer Schwerpunkt ist die Entwicklung im CMS Drupal.
Entwickelt Julian gerade keine Software, fährt er Ski, Mountainbike, spielt Badminton, segelt oder verbringt Zeit mit Freunden.
Dieser Blog dient als sein "öffentlicher Notizblo(ck/g)".
Webbasierte Lösungen? Machen wir!
webks: websolutions kept simple
http://www.webks.de
Dir hat dieser Beitrag viel Zeit und Nerven gespart?
Dann freue ich mich über jede kleine Anerkennung:
Oder du suchst weitere professionelle Unterstützung?
Dann bietet dir unser webks.de Softwareentwickler-Team professionelle Dienstleistungen im Web-Development und der Drupal CMS Entwicklung!