echoip icon indicating copy to clipboard operation
echoip copied to clipboard

Auto reloading databases

Open dkrutsko opened this issue 3 years ago • 4 comments

Hey there, thanks for this incredible application. I wanted to know if it would be possible to add auto-reloading capabilities into this application similar to how this nginx plugin does it. Essentially every day or every week, the three database files would be reopened to ensure the most up to date databases are being used. Currently, the only way to achieve this is by restating the echoip service through a cronjob. Thanks.

dkrutsko avatar Oct 29 '20 21:10 dkrutsko

I have thought about this as it also makes deployment easier if echoip can just fetch the databases by itself. Pull requests are welcome!

mpolden avatar Oct 29 '20 21:10 mpolden

@dkrutsko hey there I am trying to deploy this on k8s, do you have manifests files or helm chart? I am struggling with the country and city mostly, I tried https://github.com/maximbaz/helm-echoip and https://github.com/devops-works/helm-charts

dharmendrakariya avatar Oct 13 '21 18:10 dharmendrakariya

@dharmendrakariya Hey there, we don't actually use helm charts or k8s, we simply installed echoip through go get github.com/mpolden/echoip/... and ran the binary via systemd.

dkrutsko avatar Oct 14 '21 02:10 dkrutsko

okay @dkrutsko Thanks:)

dharmendrakariya avatar Oct 14 '21 04:10 dharmendrakariya