26 lines
675 B
YAML
26 lines
675 B
YAML
version: "3.5"
|
|
services:
|
|
i2p:
|
|
image: geti2p/i2p
|
|
network_mode: host
|
|
restart: always
|
|
volumes:
|
|
- ./i2pconfig:/i2p/.i2p
|
|
- i2ptorrents:/i2psnark
|
|
ports:
|
|
- 4444:4444
|
|
- 6668:6668
|
|
- 7657:7657
|
|
- 34254:12345
|
|
- 34254:12345/udp
|
|
environment:
|
|
- JVM_XMX=512m
|
|
|
|
# Like most NFS mounts, optional but recommended
|
|
volumes:
|
|
i2ptorrents:
|
|
driver_opts:
|
|
type: "nfs"
|
|
o: "addr=10.0.10.10,nolock,soft,rw" # <- Update your NAS IP address
|
|
device: ":/mnt/General_Tank/General/Public/I2P_Torrents" # <- Update the path on your NAS
|