docker: rename volumes and add comments to docker-compose.test.yml
#5 - Create SAM server tunnels in trans-proxy
This commit is contained in:
@@ -7,9 +7,9 @@ services:
|
||||
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
|
||||
- netdb:/i2p/netdb
|
||||
- reseed_certs:/i2p/keys
|
||||
|
||||
reseed-i2pd:
|
||||
build:
|
||||
context: i2p
|
||||
@@ -18,18 +18,20 @@ services:
|
||||
networks:
|
||||
- no_internet
|
||||
volumes:
|
||||
- reseed_i2p:/var/lib/i2p/i2p-config/netDb
|
||||
- netdb:/var/lib/i2p/i2p-config/netDb
|
||||
- reseed_certs:/var/lib/i2p/i2p-config/certificates/reseed:ro
|
||||
|
||||
reseeder:
|
||||
image: bisentenialwrug/i2p-reseed
|
||||
command: --signer somebody@reseeder --interval 30s --numRi 1 --port 8080
|
||||
user: "101"
|
||||
user: "101" # i2psvc user ID
|
||||
depends_on:
|
||||
- reseed-i2pd
|
||||
networks:
|
||||
- no_internet
|
||||
volumes:
|
||||
- reseed_i2p:/var/lib/i2p/i2p-config/netDb
|
||||
- reseed_keys:/var/lib/i2p/i2p-config/reseed
|
||||
- netdb:/var/lib/i2p/i2p-config/netDb
|
||||
- reseed_certs:/var/lib/i2p/i2p-config/reseed
|
||||
|
||||
i2pd:
|
||||
build:
|
||||
@@ -39,13 +41,18 @@ services:
|
||||
networks:
|
||||
- no_internet
|
||||
volumes:
|
||||
- reseed_keys:/var/lib/i2p/i2p-config/certificates/reseed
|
||||
- reseed_certs:/var/lib/i2p/i2p-config/certificates/reseed:ro
|
||||
|
||||
volumes:
|
||||
reseed_i2p: {}
|
||||
reseed_keys: {}
|
||||
netdb: { }
|
||||
reseed_certs: { } # Certificates used to sign the reseed zips
|
||||
|
||||
networks:
|
||||
no_internet:
|
||||
no_internet: # You will need to access services directly with the IP
|
||||
internal: true
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: "172.1.1.0/24"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user