initial commit

This commit is contained in:
ae 2024-11-17 23:21:09 +02:00
commit 0676a7f1a7
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E
3 changed files with 20 additions and 0 deletions

1
.env.template Normal file
View File

@ -0,0 +1 @@
EXT_PORT=""

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# i2pbox
This repository contains the configurations related to [this blog post](https://golfed.xyz/blog/i2p-on-vps/) about running I2P on a remote VPS and accessing it with the help of SSH port forwarding.

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
# https://github.com/i2p/i2p.i2p/blob/master/Docker.md
services:
i2p:
image: geti2p/i2p
container_name: i2p
ports:
# Automatically exposed to localhost: 4444-4445/tcp, 6668/tcp, 7654/tcp, 7656-7660/tcp
- ${EXT_PORT:?host port must be manually set}:12345/tcp
- ${EXT_PORT:?host port must be manually set}:12345/udp
volumes:
- ${PWD}/i2pconfig:/i2p/.i2p:rw # Mandatory configs
- ${PWD}/i2ptorrents:/i2psnark:rw # Torrenting support
environment:
JVM_XMX: 256m # Memory limited to 256 MB
EXT_PORT: ${EXT_PORT:?host port must be manually set}