add dockerfile and config

This commit is contained in:
2024-11-03 15:00:09 +03:00
commit b70de2b1b7
3 changed files with 34 additions and 0 deletions

8
docker/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
## syntax=docker/dockerfile:3
FROM purplei2p/i2pd
# Copy configs
COPY ./docker/i2pd.conf /home/i2pd/i2pd.conf
COPY ./docker/i2pd.tunnels.conf /home/i2pd/data/tunnels.conf

17
docker/i2pd.conf Normal file
View File

@@ -0,0 +1,17 @@
tunconf = /home/i2pd/data/tunnels.conf
log = stdout
#Uncomment line below to look your placard site XXX.b32.i2p address in `docker-compose logs` at line:
#"/info - Destination: Local address XXX created"
#loglevel = info
loglevel = none
[http]
enabled = false
[httpproxy]
enabled = false
[socksproxy]
enabled = false

9
docker/i2pd.tunnels.conf Normal file
View File

@@ -0,0 +1,9 @@
[hidden-service]
type = server
host = nginx
port = 80
inbound.length = 3
outbound.length = 3
keys = hidden-service.dat
i2cp.reduceOnIdle = true