Skip to content

Commit de828e8

Browse files
committed
feat(i2p): add i2pd sidecar and tunnel configuration(#35)
1 parent 1970171 commit de828e8

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

docker-compose.i2p.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
services:
2+
i2pd:
3+
image: purplei2p/i2pd:release-2.59.0
4+
container_name: i2pd
5+
depends_on:
6+
- nostream
7+
volumes:
8+
- ${PWD}/.nostr/i2p/data:/home/i2pd/data
9+
- ${PWD}/i2p/i2pd.conf:/home/i2pd/data/i2pd.conf:ro
10+
- ${PWD}/i2p/tunnels.conf:/home/i2pd/data/tunnels.conf:ro
11+
restart: on-failure
12+
networks:
13+
default:
14+
ipv4_address: 10.10.10.252

i2p/i2pd.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Minimal i2pd configuration for nostream.
2+
# Data and keys are persisted via the Docker volume mount at /home/i2pd/data.
3+
4+
[limits]
5+
transittunnels = 256
6+
7+
[precomputation]
8+
elgamal = true

i2p/tunnels.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[nostream]
2+
type = http
3+
host = 10.10.10.2
4+
port = 8008
5+
keys = nostream.dat

0 commit comments

Comments
 (0)