Repository where nkls researches and experiments with building mixnet stuff using libtorrent
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

106 lines
2.3 KiB

version: '3'
services:
peer1.pep.example:
build:
context: .
dockerfile: Dockerfile.peer
container_name: peer1.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.11
restart: "no"
peer2.pep.example:
build:
context: .
dockerfile: Dockerfile.peer
container_name: peer2.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.12
restart: "no"
peer3.pep.example:
build:
context: .
dockerfile: Dockerfile.peer
container_name: peer3.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.13
restart: "no"
peer4.pep.example:
build:
context: .
dockerfile: Dockerfile.peer
container_name: peer4.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.14
restart: "no"
peer5.pep.example:
build:
context: .
dockerfile: Dockerfile.peer
container_name: peer5.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.15
restart: "no"
tracker.pep.example:
build:
context: .
dockerfile: Dockerfile.tracker
container_name: tracker.pep.example
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
localnet:
ipv4_address: 10.42.1.20
restart: "no"
networks:
localnet:
internal: true
ipam:
driver: default
config:
- subnet: 10.42.1.0/24