1## docker-compose.yml
2version: "3"
3services:
4 i2pd:
5 image: justinhimself/i2pd:latest
6 # This just makes your live easier for a deployment like this.
7 network_mode: host
8 restart: always
9 # If not using the above:
10 #ports:
11 # - XXXX:XXXX # i2pd main port
12 # - 7070:7070 # http ui
13 # - 4444:4444 # http proxy
14 # - 4447:4447 # socks proxy
15 # - 9439:9439 # out?
16 volumes:
17 - ./config:/config
18## config/i2pd.conf
19tunconf = /config/tunnels.conf
20tunnelsdir = /config/tunnels.d
21certsdir = /config/certificates
22pidfile = /run/i2pd.pid
23
24log = stdout
25loglevel = error
26
27port = XXXX # Change this here, and above
28ipv4 = true
29ipv6 = true
30
31ssu = true
32
33# My main node is big. You wanna change this.
34bandwidth = X
35share = 100
36
37# floodfill = true
38
39[ntcp2]
40enabled = true
41published = true
42
43[ssu2]
44enabled = true
45published = true
46
47[http]
48address = 0.0.0.0
49port = 7070
50strictheaders = false
51webroot = /
52# lang = english
53
54[httpproxy]
55enabled = true
56address = 0.0.0.0
57port = 4444
58addresshelper = true
59outproxy = http://false.i2p
60
61[socksproxy]
62enabled = true
63address = 0.0.0.0
64port = 4447
65
66[sam]
67enabled = true
68address = 0.0.0.0
69port = 7656
70
71# Not needed in Docker/Podman.
72[upnp]
73enabled = false
74name = I2Pd
75
76[reseed]
77verify = true
78
79[persist]
80profiles = true
81addressbook = true