pEp MixMailer prototype. See aditional documentation at https://mixmailer_docs.codeberg.page/ (source: https://gitea.pep.foundation/pEp.foundation/mixmailer_docs). See slides at gitea.pep.foundation/pEp.foundation/mixmailer_slides
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.
 
 

201 lines
4.6 KiB

version: '3'
services:
n1.pep.example:
build:
context: .
dockerfile: Dockerfile.mix
container_name: n1.pep.example
hostname: n1
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/n1:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.11
restart: "no"
n2.pep.example:
build:
context: .
dockerfile: Dockerfile.mix
container_name: n2.pep.example
hostname: n2
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/n2:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.12
restart: "no"
n3.pep.example:
build:
context: .
dockerfile: Dockerfile.mix
container_name: n3.pep.example
hostname: n3
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/n3:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.13
restart: "no"
alice.pep.example:
build:
context: .
dockerfile: Dockerfile.mix
container_name: alice.pep.example
hostname: alice
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/alice:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.14
restart: "no"
bob.pep.example:
build:
context: .
dockerfile: Dockerfile.mix
container_name: bob.pep.example
hostname: bob
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/bob:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.15
restart: "no"
gnunet1.pep.example:
build:
context: .
dockerfile: Dockerfile.gnunetpeer
container_name: gnunet1.pep.example
hostname: gnunet1
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/gnunet1:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.21
restart: "no"
gnunet2.pep.example:
build:
context: .
dockerfile: Dockerfile.gnunetpeer
container_name: gnunet2.pep.example
hostname: gnunet2
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/gnunet2:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.22
restart: "no"
gnunet3.pep.example:
build:
context: .
dockerfile: Dockerfile.gnunetpeer
container_name: gnunet3.pep.example
hostname: gnunet3
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/gnunet3:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.23
restart: "no"
gnunet4.pep.example:
build:
context: .
dockerfile: Dockerfile.gnunetpeer
container_name: gnunet4.pep.example
hostname: gnunet4
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/gnunet4:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.24
restart: "no"
gnunet5.pep.example:
build:
context: .
dockerfile: Dockerfile.gnunetpeer
container_name: gnunet5.pep.example
hostname: gnunet5
domainname: pep.example
volumes:
- ./gnunet/logs:/gnunet/logs
- ./scripts:/scripts
- ./gnunet/peerdata/gnunet5:/root
- ./gnunet/hellos:/gnunet/hellos
entrypoint:
- ./scripts/gnunet_entrypoint.sh
networks:
localnet:
ipv4_address: 10.42.1.25
restart: "no"
networks:
localnet:
internal: true
ipam:
driver: default
config:
- subnet: 10.42.1.0/24