How to create a gitlab server in synology NAS

There are several ways to create the gitlab in synology NAS, for example: install the gitlab app or install via virtual machine, but the gitlab app in synolog is not updated and it difficult to maintain, and for the virtual machine approach, it needs too many resources for that, so I will introduce to use the docker for install gitlab, this is an easy way and also can be easy to maintain!

Open the docker and search gitlab, I will suggest using the ce version, because this should be easy for maintain and upgrade in the future:

after install the registry, just launch it in “Image” section, and then you will find that the gitlab container to be created.

Do you want to be a good trading in cTrader?   >> TRY IT! <<

edit the container as below:

here the main point for map the gitlab folders in docker inside, it can be let you easy to mantain. The “Mount path” is the gitlab folder in docker, after map these folders, you can update and mantain the gitlab config and data:

Next for map the port, you can just let it default, and what you need to do is fordward these ports in your router

The other import point needs to set the “EXTERNAL_URL” in your gitlab, just add the variable in the environment, you can set it to your internal IP or a public domain:

After done, just start the container, if you get below 502 error page, just need to wait, because it’s need to take a long time for startup:

It may need to wait for about 10 mins, after that you will see the gitlab page:

Loading

Views: 1,184
Total Views: 3167 ,

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome content in your inbox.

We don’t spam! Read our privacy policy for more info.

Oh hi there 👋 It’s nice to meet you.

Sign up to receive awesome content in your inbox.

We don’t spam! Read our privacy policy for more info.

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Thank you so much!