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.
 
 

128 lines
3.3 KiB

version: '3'
services:
# authority.pep.example:
# image: ${GNUNET_IMAGE:-gnunet}
# container_name: authority.pep.example
# hostname: authority
# domainname: pep.example
# volumes:
# - ./tmp/authority:/home/gnunet
# - ./docker/gnunet.conf:/home/gnunet/.config/gnunet.conf
# ports:
# - "7770:7776"
# expose:
# - "7776"
# restart: unless-stopped
gnunet.n1.pep.example:
# image: ${GNUNET_IMAGE:-gnunet}
image: ${RELEASE_IMAGE:-peppythonmixnet}
container_name: gnunet.n1.pep.example
hostname: gnunet
domainname: n1.pep.example
volumes:
- ./tmp/n1:/home/gnunet
- ./docker/gnunet.conf:/home/gnunet/.config/gnunet.conf
ports:
- "7776:7776"
expose:
- "7776"
restart: unless-stopped
gnunet.n2.pep.example:
image: ${GNUNET_IMAGE:-gnunet}
container_name: gnunet.n2.pep.example
hostname: gnunet
domainname: n2.pep.example
volumes:
- ./tmp/n2:/home/gnunet
- ./docker/gnunet.conf:/home/gnunet/.config/gnunet.conf
ports:
- "7777:7776"
expose:
- "7776"
restart: unless-stopped
# Naming the services with the FQDN so that the containers can resolve the
# other containers in the same network domains.
n1.pep.example:
container_name: n1.pep.example
build:
context: .
environment:
DOMAIN: "n1.pep.example"
MYFP: "44CF7B7252148BE970F53FF8BF378725BCA73C60"
KEY: "/peppythonmixnet/tests/data/root@n1.pep.example.sec.asc"
# There is no need to expose the port externally, unless the host will
# send Emails too.
restart: unless-stopped
image: ${RELEASE_IMAGE:-peppythonmixnet}
hostname: n1
domainname: pep.example
n2.pep.example:
container_name: n2.pep.example
build:
context: .
environment:
DOMAIN: "n2.pep.example"
MYFP: "EEA6C082CA652EE1F6297F569CFD11A518CD28F8"
KEY: "/peppythonmixnet/tests/data/root@n2.pep.example.sec.asc"
restart: unless-stopped
image: ${RELEASE_IMAGE:-peppythonmixnet}
hostname: n2
domainname: pep.example
n3.pep.example:
container_name: n3.pep.example
build:
context: .
environment:
DOMAIN: "n3.pep.example"
MYFP: "5CF81E8377654F1BD1D5A02B4854BBDC9957C746"
KEY: "/peppythonmixnet/tests/data/root@n3.pep.example.sec.asc"
restart: unless-stopped
image: ${RELEASE_IMAGE:-peppythonmixnet}
hostname: n3
domainname: pep.example
openpgp.example:
container_name: bob.openpgp.example
build:
context: .
environment:
USER: "root"
# A domain that will not trigger the remailer transport and correspond
# to the recipient.
DOMAIN: "openpgp.example"
TRANSPORT: 0
depends_on:
- n1.pep.example
- n2.pep.example
- n3.pep.example
restart: unless-stopped
image: ${RELEASE_IMAGE:-peppythonmixnet}
hostname: openpgp
domainname: example
alice:
container_name: alice.whatever.example
build:
context: .
environment:
USER: "root"
# A domain that will not trigger the remailer transport.
DOMAIN: "whatever.example"
TRANSPORT: 0
depends_on:
- n1.pep.example
- n2.pep.example
- n3.pep.example
- openpgp.example
restart: unless-stopped
image: ${RELEASE_IMAGE:-peppythonmixnet}
hostname: whatever
domainname: example