-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to make a docker container out of this? #16
Comments
Very cool, cheers. I kinda saw the image on docker hub, but without explanation. So looking at
|
The databases, as explained in the documentation, can be downloaded from MaxMind. For testing purposes, you can use the ones located in the test directory (these databases contain a minimal set of data). The last two lines set the minimal parameters you need to pass for the service to work, which are the database paths. |
Could be cool to add the posibility to configure the geoip locations and the template with enviroments variables, so it could be used with docker-compose. Something like this
|
Hi, this is a closed issue, if you have any other question please open a new one. Regarding your suggestion, indeed, having ENVARS could be a good idea, in the meantime, you can always add a command configuration to your docker compose file. |
Hi,
This is really cool, exactly what I need, but I can't find any built docker container for it, and I haven't got a clue how to build one. I'm not a developer.
I followed instructions at https://stackify.com/docker-build-a-beginners-guide-to-building-docker-images which suggested this
But that wasn't quite what I got:
Any chance you could offer some guidance here? Most appreciated!
The text was updated successfully, but these errors were encountered: