Setup gitlabCe on Docker

Asked

Viewed 29 times

1

I installed gilab container on Docker however two problems appeared:

1 - If you configure external_url the system does not restart. 2 - If you look at the path of the project SSH is [[email protected]]:/wayDaPast If it’s http it gets http://7c38db0766c9/path of the briefcase.

What parameters should be changed in the file . Rb to remedy such problems.

Container is being created from the code below:

docker run --detach \
    --publish 4430:443 --publish 8083:80 --publish 2222:22 \
    --name gitlabCe \
    --restart always \
    --volume $PWD/../src/gitlab/config:/etc/gitlab \
    --volume $PWD/../src/gitlab/logs:/var/log/gitlab \
    --volume $PWD/../src/gitlab/data:/var/opt/gitlab \
    -e GITLAB_SIGNUP_ENABLED=false \

No modifications to the original image.

The modifications I tried to make in the external_url were directly in the file . Rb after the container was running.

  • You are changing the . Rb manually only to change the external_url or is configuring the env GITLAB_OMNIBUS_CONFIG of container? Is building some image from the gitlab/gitlab-ce? How are you creating the container? Put more information there the way it is there is guesswork

  • hello.. I am changing manually. using the original image without modification.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.