docker-gitlab icon indicating copy to clipboard operation
docker-gitlab copied to clipboard

Upload user logo not display

Open fye opened this issue 11 years ago • 9 comments

Upload user pictures, find pictures do not show through the links to see photos, localhost when found locally. I use the IP address visiting gitlab service, do you know where I went wrong?

360 20150108174157

fye avatar Jan 08 '15 10:01 fye

@fye please share docker run command.

sameersbn avatar Jan 08 '15 13:01 sameersbn

This is my docker command:

docker run --name=gitlab -d
-e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=10022'
-p 10022:22 -p 10080:80
-e 'GITLAB_RELATIVE_URL_ROOT=/avatar-gitlab'
--link redis:redisio
--link mysql:mysql
-v /opt/gitlab/data:/home/git/data
sameersbn/gitlab:7.6.2

fye avatar Jan 09 '15 02:01 fye

add -e GITLAB_HOST so gitlab no longer refers to itself as "localhost" - image upload works for me after adding this.

so0k avatar Jan 10 '15 00:01 so0k

@fye can you please try @so0k's solution

sameersbn avatar Jan 10 '15 03:01 sameersbn

@fye I can confirm that I can reproduce your issue and also confirm that @so0k's suggestion resolves it. I am closing the issue for now. If you still have issues, please reopen.

sameersbn avatar Jan 11 '15 07:01 sameersbn

@sameersbn @so0k Sorry for late reply, i will try tomorrow.

fye avatar Jan 11 '15 12:01 fye

@sameersbn @so0k Sorry for late reply, i will try tomorrow.

fye avatar Jan 11 '15 12:01 fye

@sameersbn @so0k . It works, Thanks!

fye avatar Jan 12 '15 08:01 fye

You're welcome :)

so0k avatar Jan 13 '15 03:01 so0k