diff --git a/README.md b/README.md index e494dc5..78d796f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/i2pd/.env.dist b/i2pd/.env.dist new file mode 100644 index 0000000..4cc74e4 --- /dev/null +++ b/i2pd/.env.dist @@ -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 \ No newline at end of file diff --git a/i2pd/data/.gitignore b/i2pd/data/.gitignore new file mode 100644 index 0000000..a68d087 --- /dev/null +++ b/i2pd/data/.gitignore @@ -0,0 +1,2 @@ +/* +!/.gitignore diff --git a/i2pd/docker-compose.yml b/i2pd/docker-compose.yml new file mode 100644 index 0000000..50974d3 --- /dev/null +++ b/i2pd/docker-compose.yml @@ -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}"