From 134b48143890d034c44f98b0f73755a48d53cfda Mon Sep 17 00:00:00 2001 From: Juergen Kosel Date: Wed, 13 Dec 2017 16:44:41 +0100 Subject: [PATCH] Fix local gitlab container by exporting port 80 The port 80 must be reachable from outside the docker network. Therefore it needs to be exported. See also https://gist.github.com/steve-todorov/4758707 Port 22 must also be accessible. - But this does not work for now. Signed-off-by: Juergen Kosel --- gitfab_local.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitfab_local.yml b/gitfab_local.yml index b2f55fa..3598158 100755 --- a/gitfab_local.yml +++ b/gitfab_local.yml @@ -27,6 +27,9 @@ services: - gitlab_logs:/var/log/gitlab - gitlab_data:/var/opt/gitlab - /var/run/docker.sock:/var/run/docker.sock + ports: + - 8080:80 + - 22:22 environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://gitlab'