I’m experimenting with i2p and a librewolf container setup in Docker compose. However, the i2p web front end (127.0.0.1:7657) becomes inaccessible if the container itself is restarted. This can be remedied by removing the directories that get created by the volume mappings in the compose file, but this obviously not ideal. Anyone have experience with this problem? I’ve seen hints of the data in those directories getting somehow corrupted, but haven’t yet investigated that further.

version: "3.5"
services:
  i2p_router:
    image:
      geti2p/i2p:latest
    environment:
    - JVM_XMX=256m
    volumes:
    - ./i2phome:/i2p/.i2p
    - ./i2ptorrents:/i2psnark
    ports:
    - 4444:4444
    - 6668:6668
    - 7657:7657
    - 9001:12345
    - 9002:12345/udp

  libre_wolf:
    image:
      linuxserver/librewolf
    ports:
    - 9300:3000
    - 9301:3001

volumes:
  i2phome:
  i2ptorrents:
networks:
  frontend:
    driver: bridge
  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    2 months ago
    1. How long did you wait for the router to be back up?
    2. Have you looked at the logs within the container? docker compose exec i2p_router tail -F .i2p/wrapper.log

    For me, it comes back up after a few seconds.

    WARN: There may be another router already running. Waiting a while to be sure...
    WARN: Old router was not shut down gracefully, deleting /i2p/.i2p/router.ping
    INFO: No, there wasn't another router already running. Proceeding with startup.
    

    Anti Commercial-AI license