[Oct 09] Stock Android 7.1.2 (20180921) - RockPro64 | [Sept 25] KDE Neon (20180917) - Pinebook / Slackware Aarch64 Miniroot (20180901) - ROCK64 | [Aug 6] Debian Stretch Minimal 64bit (0.7.8) / Ubuntu 18.04 Bionic LXDE Desktop Image (0.7.8) / Ubuntu 18.04 Bionic minimal 64bit / 32bit Image (0.7.8) / Ubuntu 18.04 Bionic Containers Image (0.7.8) / Stretch OpenMediaVault OS Image armhf / Stretch OpenMediaVault OS Image arm64 ( 0.7.8) - ROCK64

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Running gitlab community edition on Rock64
#1
Question 
Hi,

I want to run gitlab community edition for testing purpose , 
Looking at Requirements page I think it should work: https://docs.gitlab.com/ee/install/requirements.html

however if anyone has any good point to through or have experience running gitlab on Rock64 please share !
Reply
#2
(05-10-2018, 09:26 AM)seaurchin Wrote: Hi,

I want to run gitlab community edition for testing purpose , 
Looking at Requirements page I think it should work: https://docs.gitlab.com/ee/install/requirements.html

however if anyone has any good point to through or have experience running gitlab on Rock64 please share !

Though I do not have it yet running on Rock64 you may want to try Gogs: https://gogs.io/

I used Gitlab for a while but find Gogs much lighter and for me, it has more features.
Reply
#3
The requirements neglect to mention the required/supported architectures... which arm64 / aarch64 is not one of... 

https://gitlab.com/gitlab-org/gitlab-ce/issues/21844

Having said, if you follow the link in the comment by Joridi, you'll see that somebody has gotten Gitlab CE running on arm64 architecture.

I would also recommend gogs though... much lighter, and quite easy to run up (on the pine64 at least, so should be no problem on the rock64).
Reply
#4
Hi

I am able to test gitlab-ce  in OMV4 docker in armhf version. 
It use about ~ 1Gb out of my 4G from Rock64

Code:
#docker stats gitlab

CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
xxxxxxxxxdca        gitlab              9.90%               1.168GiB / 3.832GiB   30.49%              4.99MB / 624kB      298MB / 298MB       155

First pull from https://hub.docker.com/r/ulm0/gitlab/; thanks to ulm0 at https://github.com/ulm0/gitlab
Code:
docker pull ulm0/gitlab

Here is config container, replace example with your variables...important to config GITLAB_OMNIBUS_CONFIG
Code:
docker create  \
--hostname EXAMPLE.COM \
--env GITLAB_OMNIBUS_CONFIG="external_url 'https://EXAMPLE.COM:81/';nginx['listen_https'] = false;nginx['redirect_http_to_https'] = false;gitlab_rails['gitlab_shell_ssh_port'] = 24;postgresql['enable'] = false;postgresql['shared_buffers'] = '56MB';prometheus_monitoring['enable'] = false;unicorn['worker_processes'] = 2;sidekiq['concurrency'] = 1;gitlab_rails['db_adapter'] = 'postgresql';gitlab_rails['db_encoding'] = 'utf8';gitlab_rails['db_host'] = 'YOUR_ROCK_IP';gitlab_rails['db_port'] = 5432;gitlab_rails['db_username'] = 'DB_USERNAME';gitlab_rails['db_password'] = 'DB_PASSWORD';gitlab_rails['db_database'] = 'GITLAB_DB';gitlab_rails['smtp_enable'] = true;gitlab_rails['smtp_address'] = 'MAIL.EXAMPLE.COM';gitlab_rails['smtp_port'] = 587;gitlab_rails['smtp_user_name'] = '[email protected]';gitlab_rails['smtp_password'] = 'MAIL_PASSWORLD';gitlab_rails['smtp_domain'] = 'MAIL.EXAMPLE.com';gitlab_rails['smtp_authentication'] = 'login';gitlab_rails['smtp_enable_starttls_auto'] = true;" \
-p 0.0.0.0:443:443 -p 0.0.0.0:8081:81 -p 0.0.0.0:24:22 \
--name gitlab \
-v /srv/YOUR_MOUNT/gitlab/config:/etc/gitlab \
-v /srv/YOUR_MOUNT/gitlab/logs:/var/log/gitlab \
-v /srv/YOUR_MOUNT/gitlab/data:/var/opt/gitlab \
ulm0/gitlab

Nginx proxy:
Code:
location / {

   gzip off;
   client_body_buffer_size 128k;
   client_max_body_size 0;

   proxy_buffer_size 16k;
   proxy_buffers 32 16k;
   proxy_busy_buffers_size 64k;
   proxy_connect_timeout 60;
   proxy_intercept_errors on;
   proxy_next_upstream error timeout;
   proxy_redirect off;
   proxy_send_timeout 90;

   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header X-Forwarded-Proto https;
   proxy_set_header X-Forwarded-Host $http_host;
   proxy_set_header Host $http_host;
   proxy_temp_file_write_size 64k;
   proxy_pass http://localhost:8081;


}
Reply
#5
(05-10-2018, 09:26 AM)seaurchin Wrote: Hi,

I want to run gitlab community edition for testing purpose , 
Looking at Requirements page I think it should work: https://docs.gitlab.com/ee/install/requirements.html

however if anyone has any good point to through or have experience running gitlab on Rock64 please share !


This gitlab package for debian stretch works for me so far, just `sudo apt-get install gitlab`
https://packages.debian.org/search?suite...rds=gitlab
https://packages.debian.org/stretch/gitlab
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 28 6,714 10-09-2018, 10:28 AM
Last Post: fadedreamz
Information Serial Console for the Rock64 MarkHaysHarris777 23 6,520 10-04-2018, 04:25 PM
Last Post: scat70
  STBY led is red, rock64 fail? heroes1412 1 80 10-04-2018, 12:28 AM
Last Post: tllim
  Ceph on ROCK64 maal 2 249 09-29-2018, 08:51 PM
Last Post: suberimakuri
  Rock64 hangs without trace szus 10 447 09-15-2018, 01:42 PM
Last Post: szus
  Rock64 as a retro-gaming console: personal thoughts Danielsan 8 779 09-13-2018, 03:45 PM
Last Post: jessiehughes
  height of rock64? heocb 2 82 09-13-2018, 11:48 AM
Last Post: heocb
  Crypto wallets - rock64 Vegeta 0 70 09-10-2018, 01:49 AM
Last Post: Vegeta
  Rock64 4Gb variant bricked magare 19 553 09-08-2018, 11:07 PM
Last Post: magare
  NextcloudPi on a Rock64 jsfrederick 13 1,181 09-07-2018, 11:31 AM
Last Post: Trash_Can_Man

Forum Jump:


Users browsing this thread: 1 Guest(s)