initial commit
This commit is contained in:
commit
0676a7f1a7
1
.env.template
Normal file
1
.env.template
Normal file
@ -0,0 +1 @@
|
||||
EXT_PORT=""
|
3
README.md
Normal file
3
README.md
Normal 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
16
docker-compose.yml
Normal 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}
|
Loading…
Reference in New Issue
Block a user