Open etjr opened 7 years ago
have you set - GITLAB_HOST=gitlab.yourhost.com
?
docker run --name gitlab -d \ --link gitlab-postgresql:postgresql --link gitlab-redis:redisio \ --publish 10022:22 --publish 10080:80 \ --env 'GITLAB_PORT=10080' --env 'GITLAB_SSH_PORT=10022' \ --env 'GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alpha-numeric-string' \ --env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \ --env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \ --env 'GITLAB_HOST=yoururl' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:8.15.2
This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.
when i remote add mygitlab ssh or http url, i find zhe url is localhost, i try to get in the gitlab docker container, in path /etc/gitlab new gitlab.rb and set external_url ,but restart docker container,it's without effect