Add start of basic config with reseeder
The reseeder doesn't work yet as we can't target it yet #5 - Create SAM server tunnels in trans-proxy
This commit is contained in:
49
docker-compose.test.yml
Normal file
49
docker-compose.test.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
i2pd:
|
||||
build:
|
||||
context: i2p
|
||||
ports:
|
||||
- "26976:26976"
|
||||
networks:
|
||||
- no_internet
|
||||
|
||||
# Changes ownership of the volumes to the i2psvc user
|
||||
volume_setup:
|
||||
image: alpine
|
||||
command: chown -R 101:101 /i2p/
|
||||
volumes:
|
||||
- reseed_i2p:/i2p/netdb
|
||||
- reseed_keys:/i2p/keys
|
||||
# You will need to access this directly with the IP
|
||||
reseed-i2pd:
|
||||
build:
|
||||
context: i2p
|
||||
depends_on:
|
||||
- volume_setup
|
||||
networks:
|
||||
- no_internet
|
||||
volumes:
|
||||
- reseed_i2p:/var/lib/i2p/i2p-config/netDb
|
||||
reseeder:
|
||||
image: eyedeekay/reseed
|
||||
command: --signer somebody@test.i2p
|
||||
user: "101"
|
||||
depends_on:
|
||||
- reseed-i2pd
|
||||
networks:
|
||||
- no_internet
|
||||
volumes:
|
||||
- ./reseed/entrypoint.sh:/var/lib/i2p/go/src/i2pgit.org/idk/reseed-tools/entrypoint.sh
|
||||
- reseed_i2p:/var/lib/i2p/i2p-config/netDb
|
||||
- reseed_keys:/var/lib/i2p/i2p-config/reseed
|
||||
|
||||
volumes:
|
||||
reseed_i2p: {}
|
||||
reseed_keys: {}
|
||||
|
||||
networks:
|
||||
no_internet:
|
||||
internal: true
|
||||
|
5
reseed/entrypoint.sh
Executable file
5
reseed/entrypoint.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
cp -r /var/lib/i2p/go/src/i2pgit.org/idk/reseed-tools/content ./content
|
||||
|
||||
/var/lib/i2p/go/src/i2pgit.org/idk/reseed-tools/reseed-tools reseed --yes=true --netdb=/var/lib/i2p/i2p-config/netDb $@
|
Reference in New Issue
Block a user