i2pd. draft. not working yet.

This commit is contained in:
Alexey Skobkin 2022-02-25 19:52:50 +03:00
parent 9dde188c1a
commit 089b641083
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
4 changed files with 44 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Not every stack is tested to fully work.
- [x] Duplicati
- [x] Folding@Home
- [x] [Gatus](https://github.com/TwiN/gatus)
- [ ] [I2PD](https://github.com/PurpleI2P/i2pd)
- [x] [Joplin](https://hub.docker.com/r/joplin/server) (working, abandoned)
- [ ] Lidarr (didn't test, may not work)
- [x] magnetico-web-telegram

14
i2pd/.env.dist Normal file
View File

@ -0,0 +1,14 @@
# see https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile
# Host
HOST_DATA_DIR=./data
HOST_USER=1000
# Container
I2PD_HOME=/home/i2pd
DATA_DIR=/home/i2pd/data
#DEFAULT_ARGS=" --datadir=$DATA_DIR --reseed.verify=true --upnp.enabled=false --http.enabled=true --http.address=0.0.0.0 --httpproxy.enabled=true --httpproxy.address=0.0.0.0 --socksproxy.enabled=true --socksproxy.address=0.0.0.0 --sam.enabled=true --sam.address=0.0.0.0"
# Service
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

2
i2pd/data/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/*
!/.gitignore

27
i2pd/docker-compose.yml Normal file
View File

@ -0,0 +1,27 @@
# https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile
version: '3.7'
services:
i2pd:
image: purplei2p/i2pd
container_name: i2pd
volumes:
#- "./config:/config"
- "${HOST_DATA_DIR}:${DATA_DIR}"
ports:
- "7070:7070/tcp"
- "4444:4444/tcp"
- "4447:4447/tcp"
- "7656:7656/tcp"
- "2827:2827/tcp"
- "7654:7654/tcp"
- "7650:7650/tcp"
env_file: .env
restart: unless-stopped
user: "${HOST_USER:-}"
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"