2024-11-17 22:21:09 +01:00
|
|
|
# https://github.com/i2p/i2p.i2p/blob/master/Docker.md
|
|
|
|
|
|
|
|
services:
|
|
|
|
i2p:
|
|
|
|
image: geti2p/i2p
|
|
|
|
container_name: i2p
|
2024-11-18 13:56:47 +01:00
|
|
|
restart: unless-stopped
|
2024-11-17 22:21:09 +01:00
|
|
|
ports:
|
2024-11-18 13:56:47 +01:00
|
|
|
# Automatically exposed locally: 4444-4445/tcp, 6668/tcp, 7654/tcp, 7656-7660/tcp
|
|
|
|
- ${EXT_PORT}:${EXT_PORT}/tcp
|
|
|
|
- ${EXT_PORT}:${EXT_PORT}/udp
|
2024-11-17 22:21:09 +01:00
|
|
|
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}
|