External_url with Gitlab CE under Synology NAS

Hi everyone,

We just installed a new fresh instance of Gitlab on a Synology NAS (port number 30000).

We use Gmail to send emails. As it is a Synology package install (with docker) we modified the env variables in the container to get it work.

When an email is sent by gitlab the url is localhost:30000

So we tried to change the GITLAB_HOST from localhost to our local IP (192.x.x.x) to reach the gitlab server.

But unfortunately when we do this emails notifications stops working.

Any suggestions ?