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

Add environment variables for conf_file and database_dir #143

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

Linutux42
Copy link
Contributor

Following #142, I also needed to run this container with another user therefore with another conf_file.
So I added a possible override on both conf_file and database_dir via environment variables.

Let me know if this is ok for you or if you need another commit to fix something.

Regards,

Copy link
Member

@oschwald oschwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request. This look good. Would you mind documenting the new environment variables in doc/docker.md?

@Linutux42
Copy link
Contributor Author

Done @oschwald ;)

@Linutux42 Linutux42 requested a review from oschwald May 26, 2021 16:28
Copy link
Member

@oschwald oschwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@oschwald oschwald merged commit 352b9f5 into maxmind:main Jun 3, 2021
oschwald added a commit that referenced this pull request Jun 3, 2021
oschwald added a commit that referenced this pull request Jun 3, 2021
rafl added a commit that referenced this pull request Jun 4, 2021
oschwald added a commit that referenced this pull request Jul 20, 2021
4.8.0

* The Docker container now supports the following new environment
  variables:

  * `GEOIPUPDATE_CONF_FILE` - The path where the configuration file will
    be written. The default is `/etc/GeoIP.conf`.
  * `GEOIPUPDATE_DB_DIR` - The directory where geoipupdate will download
    the databases. The default is `/usr/share/GeoIP`.

  Pull request by Maxence POULAIN. GitHub #143.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants