Тёмный

How to install GitLab on a QNAP NAS 

Подписаться
Просмотров 13 тыс.
% 129

If you're a developer and want to use GitLab on your own QNAP NAS, this is the video for you!
#GitLab #QNAP #HowTo

Опубликовано:

 

28 апр 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@RiccardoLulli
@RiccardoLulli 3 года назад
You are my saviour! I was fighting with QNAP's GitLab (with obsolete images) and then I found this video which made everything easy and fast! You forgot to mention that initial root password can be found inside "initial_root_password". Also I don't have nano installed on my machine so I used "vi".
@sambeard4428
@sambeard4428 4 года назад
sadly i do not meet the RAM requirements for setting up a Gitlab server on my NAS, however i did really like this video. Very clear and clean. You should have more views
@FelipeBaezFilms
@FelipeBaezFilms 4 года назад
Thank you Sam! Eventually I’ll get more videos going as well. Lately work has been crazy.
@michaelfaith
@michaelfaith 4 года назад
Good video, but you lost me at the volume name bit. Where are you getting those volume names from?
@einsundeins00
@einsundeins00 3 года назад
Great job Felipe! Thx!
@brzoskamariusz
@brzoskamariusz 4 года назад
What version it was exactly? I try do this, but I still had problem with SSL :(
@briandalwood5668
@briandalwood5668 2 года назад
Great tutorial - How would I get port 80 to forward to the container so I can get a LetsEncrypt certificate? When I add 80 to the host box in the container settings dialog it has a red border and it is removed when the container restarts.
@egi1965
@egi1965 3 года назад
I can install the gitlab server as you describe, but every time I stop and re-start the docker container, all my settling (user login etc) are lost. So I don't even have to commit anything, since I expect the same will happen. I'll assume this is due to the way how these docker containers work (keeping things in a virtual environment till you stop the container), so there is a huge gap in this video: how to avoid settling and folders get lost when the container is stopped. I would even like to have all the data outside of the container, in a share I can access as administrator.
@FelipeBaezFilms
@FelipeBaezFilms 3 года назад
The video is now 2 years old. I’ll try to make a new one soon that addresses these comments and concerns. I remember that happening to mine as well, but I don’t recall right now exactly what was the issue. The settings themselves are saved on those three folders: /var/log/gitlab; /var/opt/gitlab; /etc/gitlab Restarting should flush those settings.
@kevmyst
@kevmyst 3 года назад
@@FelipeBaezFilms I have the same problem. After restarting the device, new volumes were created and all configuration and data were overwritten. I have a backup of folders from "/ Container / container-station-data / lib / docker / volumes". I copied them to "share / gitlab" and provided the links during installation in the "Volume from host" section, but unfortunately the application does not start.
@fritsgerms3565
@fritsgerms3565 3 года назад
thank you. you saved me so much time.
@JOSCHLI1304SVideosundTutorials
Hello, in my case, there is no link appearing in the Container Station. And also even when I’m going to add a domain in the gitlab.rb-Script and reboot the container, I run into an error. It would be great if you could give me information about how you managed this. Thank you. The Video is really good. Best Regards.
@FelipeBaezFilms
@FelipeBaezFilms 4 года назад
Could you maybe record a video and post here to see exactly what you mean?
@JOSCHLI1304SVideosundTutorials
@JOSCHLI1304SVideosundTutorials 4 года назад
Felipe Baez I fixed the issue yesterday evening. 👍🏻 Thanks for your answer.😃
@mwatkins0590
@mwatkins0590 4 года назад
how did you get these folder volume addresses? you said it tells you them when you updated? what if its a fresh install? i didnt see these anywhere.
@mwatkins0590
@mwatkins0590 4 года назад
i found the other comment and reply, seems they are created when its the initial install. Another problem im having is it seems the container runs and gitlab installs, but the URL field never populates. the log is just showing a status 200 over and over again from a cron job. Do you have any videos on setting up the network settings for the container?
@metalhead5858
@metalhead5858 4 года назад
Hello I did see you tutorial I was looking for the way to edit the gitlab config, your video did show it.Thanx it did save me lots of time. Its the first container I run on my Qnap. I do see after the container runs, the 3 file paths are created on the NAS. Can you tell me whats the best way to backup the container or container config ? I run backup software on my qnap that already backups data to my cloudspace. Would like to backup gitlab aswell. If you know how let me know or make another great video :-)
@kriegalex
@kriegalex 2 года назад
Impossible to get gitlab-ce to run even the first time with no modifications at all to the config. During the initial setup, there are weird errors :(
@MichaelWDietrich
@MichaelWDietrich 4 года назад
Worked fine until container throw an error during reconfigure - has anyone solved that? There was an error running gitlab-ctl reconfigure: storage_directory[/var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 34) had an error: Errno::EACCES: ruby_block[directory resource: / var/opt/gitlab/.ssh] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: E rrno::EACCES: Permission denied - set -x && [ -d "/var/opt/gitlab/.ssh" ]
@imeprezime622
@imeprezime622 4 года назад
Is this solution woking on QNAP with ARM processor?
@FelipeBaezFilms
@FelipeBaezFilms 4 года назад
I don't know. I have only an Intel one, so can't say for sure. If container station runs on the ARM version, I imagine it shouldn't be a problem.
@piotrkarpinski5910
@piotrkarpinski5910 5 лет назад
Is there any way to install even simple git server but without container ?
@FelipeBaezFilms
@FelipeBaezFilms 5 лет назад
It’s possible but I didn’t have any luck with it as the configuration file is not the same as the one from the gitlab documentations. Actually, quite a lot harder to get it configured properly. The container station/docker is by far the easiest, plus it’s nice it’s separate from the rest of the system.
@ElTebe
@ElTebe 4 года назад
The next video should be: "how to setup a Github Private Image server on QNAP NAS" ;)
@RobertoRonderos
@RobertoRonderos 5 лет назад
I believe it should be letsencrypt['enable'] = true
@FelipeBaezFilms
@FelipeBaezFilms 4 года назад
AND, having that line wrong, like I had, in a recent update I wasn’t able to start the container anymore. Had to go find the gitlab.rb file to edit and then it came back.