• 2 Posts
  • 279 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle













  • Mine was having some weird problem with docker, I think it must be a docker bug. Basically it put the Wanderer stuff at the very bottom of the routes (running “sudo route” on Debian lists the routes). The last entry in the routes table needs to be eth0 or the equivalent so that stuff can loop back to the beginning of the list. At least that’s my understanding.

    So anyway, to get around that bug/limitation I had to create a static docker network which I called “wanderer-static” using docker network create --attachable -d bridge --subnet 172.28.0.0/16 --gateway 172.28.0.1 wanderer-static. Choose a subnet that’s not being used already.

    Then in the docker compose file, point everything at that network by:

    Removing

     networks:
       wanderer:
         driver: bridge
    

    Adding

    networks:
      wanderer-static:
        external: true
    

    And finally, pointing each service to that network. Under each service you should have:

        networks:
          - wanderer-static
    

    I also had to update the ORIGIN and whatever else to http://wanderer-static:7000, etc.