• Hal

    (@halburgissnet)


    I can’t find a way to get any usable data working locally inside docker. (On a real server outside docker it works fine).

    By default, I get what looks like the private docker ip (172.***). And this return value (partial):

    [is_empty] => 1
                [extra] => Array
                    (
                        [source] => auto
                        [cached] => 0
                        [error] => No reader was found. Check if the configuration is complete and correct.

    Setting: $_SERVER[‘REMOTE_ADDR’] = ‘216.253.111.162’, I get similar result, eg “No reader …”

    I’ve read all the docs I could find, but did not see anything that solved this.

    Environment:

    Maxmind City DB
    nginx + php7.4
    No caching

    Anybody hit this or know the workaround?

    • This topic was modified 4 years, 1 month ago by Hal.

    The page I need help with: [log in to see the link]

The topic ‘Developer environment with Docker’ is closed to new replies.