# https://github.com/i2p/i2p.i2p/blob/master/Docker.md services: i2p: image: geti2p/i2p container_name: i2p ports: # Automatically exposed to localhost: 4444-4445/tcp, 6668/tcp, 7654/tcp, 7656-7660/tcp - ${EXT_PORT:?host port must be manually set}:12345/tcp - ${EXT_PORT:?host port must be manually set}:12345/udp volumes: - ${PWD}/i2pconfig:/i2p/.i2p:rw # Mandatory configs - ${PWD}/i2ptorrents:/i2psnark:rw # Torrenting support environment: JVM_XMX: 256m # Memory limited to 256 MB EXT_PORT: ${EXT_PORT:?host port must be manually set}