I have read all the issues but did not find a solution for this problem, hope someone can help.
When I run echoip with compose, flag.String, flag.Int and flag.Var parts(-C -f -c -a -t) encountered this error.
# echoip | flag provided but not defined: -f /data/country.mmdb
I tried this:# docker run --name echoip --rm -p 127.0.0.1:19980:8080 mpolden/echoip -p -r -H X-Forwarded-For
It can run normally and no errors are reported, but no GeoIP database.
After I added -f -a -c -t
# docker run --name echoip --rm -p 127.0.0.1:19980:8080 mpolden/echoip -p -r -H X-Forwarded-For -f /data/country.mmdb -a /data/asn.mmdb -c /data/city.mmdb -t data/html
System reported an error.
echoip: main.go:58: open /data/country.mmdb: no such file or directory
I have read all the issues but did not find a solution for this problem, hope someone can help.
When I run echoip with compose, flag.String, flag.Int and flag.Var parts(-C -f -c -a -t) encountered this error.
# echoip | flag provided but not defined: -f /data/country.mmdb
I tried this:
# docker run --name echoip --rm -p 127.0.0.1:19980:8080 mpolden/echoip -p -r -H X-Forwarded-For
It can run normally and no errors are reported, but no GeoIP database.After I added -f -a -c -t
# docker run --name echoip --rm -p 127.0.0.1:19980:8080 mpolden/echoip -p -r -H X-Forwarded-For -f /data/country.mmdb -a /data/asn.mmdb -c /data/city.mmdb -t data/html
System reported an error.
echoip: main.go:58: open /data/country.mmdb: no such file or directory