Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing /etc/gitlab/gitlab.rb #1763

Closed
Gaibhne opened this issue Nov 5, 2018 · 10 comments
Closed

Missing /etc/gitlab/gitlab.rb #1763

Gaibhne opened this issue Nov 5, 2018 · 10 comments
Labels

Comments

@Gaibhne
Copy link

Gaibhne commented Nov 5, 2018

As per https://docs.gitlab.com/omnibus/settings/configuration.html, GitLab has a lot of unexposed configuration options in the file /etc/gitlab/gitlab.rb. In this image, the file does not exist, and although a file with an identical name exists in /home/git/gitlab/lib/gitlab.rb, this does not appear to be the file referenced in the GitLab documentation.

Many configuration options are not exposed through environment variables, and I'm wondering how I can set/change them with this image. That I would have to roll my own Dockerfile that extends this one is understood.

@wally666
Copy link

I have this same problem. I can not even set the external url parameter. Any changes made in /home/git/gitlab/lib/gitlab.rb are overriden after docker container restart.
What is the proper way to configure this docker image?

@rob-ack
Copy link

rob-ack commented Feb 25, 2019

@sameersbn Can you please help us with this?

@Gaibhne
Copy link
Author

Gaibhne commented Jun 3, 2019

It's disappointing that something as basic as, well, basic configuration is not addressed in this image. It would be great if @sameersbn or @solidnerd could chime in to at least give us a rough headsup on what is going on with this. Pretty please ?

@kaotika
Copy link

kaotika commented Sep 27, 2019

Any updates on this?

@taomaree
Copy link
Contributor

you can use enviroment variable to do most configuration , check the docs https://github.com/sameersbn/docker-gitlab#available-configuration-parameters

if there are some configuration missing, we need more enviroment variable, like this pr
#1884

@Gaibhne
Copy link
Author

Gaibhne commented Oct 1, 2019

So when there is a configuration missing, there is no way to manually configure it without a PR ?

If that is the case, that seems to be a big issue, which I am surprised isn't getting more votes. Maybe we could get some sort of blanket support as a stop-gap by allowing us to import a custom file with optional, additional settings that are blindly copied to the gitlab.rb file or whatever is used internally in this image ?

@solidnerd
Copy link
Collaborator

Hey @Gaibhne,
this Image using the install from source method as documented in the official documentation. So in this Image there will be never a /etc/gitlab/gitlab.rb if you want to use the gitlab.rb you should think about using the omnibus image.

Regarding your request of disabling the templating in this image. I think it could be an option. I would appreciate a proposal in a PR.

@vl-bwalocha
Copy link

Hi guys! Nothing has changed?

@stale
Copy link

stale bot commented May 6, 2020

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.

@stale stale bot added the wontfix label May 6, 2020
@stale stale bot closed this as completed May 13, 2020
@MybatisYang
Copy link

Brother, I have also encountered the same problem. Has anyone solved this big problem? I want to configure external_ URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants