mirror of
https://github.com/antitree/private-tor-network
synced 2024-11-16 12:13:59 +00:00
422b496921
updated torrc, docker-compose, and entrypoint scripts to reflect new users added ca-certificates to requirements, removed asciidocs
76 lines
1.2 KiB
YAML
76 lines
1.2 KiB
YAML
version: '2'
|
|
services:
|
|
da1:
|
|
image: antitree/private-tor-test
|
|
expose:
|
|
- "7000"
|
|
- "9030"
|
|
environment:
|
|
ROLE: DA
|
|
volumes:
|
|
## Needed to keep track of other nodes
|
|
- ./tor:/tor
|
|
da2:
|
|
image: antitree/private-tor-test
|
|
expose:
|
|
- "7000"
|
|
- "9030"
|
|
environment:
|
|
ROLE: DA
|
|
volumes:
|
|
## Needed to keep track of other nodes
|
|
- ./tor:/tor
|
|
da3:
|
|
image: antitree/private-tor-test
|
|
expose:
|
|
- "7000"
|
|
- "9030"
|
|
environment:
|
|
ROLE: DA
|
|
volumes:
|
|
## Needed to keep track of other nodes
|
|
- ./tor:/tor
|
|
relay:
|
|
image: antitree/private-tor-test
|
|
expose:
|
|
- "7000"
|
|
- "9030"
|
|
environment:
|
|
ROLE: RELAY
|
|
volumes:
|
|
- ./tor:/tor
|
|
depends_on:
|
|
# Make sure the DA's are already up
|
|
- da1
|
|
- da2
|
|
- da3
|
|
exit:
|
|
image: antitree/private-tor-test
|
|
expose:
|
|
- "7000"
|
|
- "9030"
|
|
environment:
|
|
ROLE: EXIT
|
|
volumes:
|
|
- ./tor:/tor
|
|
depends_on:
|
|
# Make sure the DA's are already up
|
|
- da1
|
|
- da2
|
|
- da3
|
|
client:
|
|
image: antitree/private-tor-test
|
|
ports:
|
|
# Setups a listener on host machine
|
|
- "9050:9050"
|
|
- "9051:9051"
|
|
volumes:
|
|
- ./tor:/tor
|
|
environment:
|
|
ROLE: CLIENT
|
|
depends_on:
|
|
- da1
|
|
- da2
|
|
- da3
|
|
|