Search code examples
ssldockergitlabsynology

Enable SSL on GitLab with Docker on Synology NAS


I have a working installation of GitLab via the official GitLab Package on my Synology NAS (DSM 5.2) in a Docker container.

I now like to access the Webinterface via https instead of just http. I have seen in several posts that it is possible to do with some docker magic, but did not find any detailed instructions.

Can anyone please explain how to achieve this?

It's a pity that this is not default.


Solution

  • You haven't indicated which gitlab image you're using:

    The most common container image already has instructions included with details on how to enable SSL: