add dockerfile and config
This commit is contained in:
8
docker/Dockerfile
Normal file
8
docker/Dockerfile
Normal 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
17
docker/i2pd.conf
Normal 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
9
docker/i2pd.tunnels.conf
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user