spf-dkim-dmarc-demo/docker-compose.yml

91 lines
1.8 KiB
YAML

#
# SPDX-FileCopyrightText: 2023 Afnic
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
version: '3.8'
# name: 'spf-dkim-dmarc-workshop'
services:
frontend:
image: spf-dkim-dmarc-workshop/frontend
build: ./frontend
hostname: frontend
dns:
- 172.31.0.53
networks:
internal:
ipv4_address: 172.31.0.11
ipv6_address: fd4a:8c4:c28b::11
external:
ports:
- "8080:8080"
console:
image: spf-dkim-dmarc-workshop/console
build: ./console
hostname: console
dns:
- 172.31.0.53
networks:
internal:
ipv4_address: 172.31.0.10
ipv6_address: fd4a:8c4:c28b::10
dns:
image: spf-dkim-dmarc-workshop/dns
build: ./dns
hostname: dns
dns:
- 127.0.0.1
networks:
internal:
ipv4_address: 172.31.0.53
ipv6_address: fd4a:8c4:c28b::53
sender:
image: spf-dkim-dmarc-workshop/sender
build: ./sender
hostname: expediteur
dns:
- 172.31.0.53
networks:
internal:
ipv4_address: 172.31.0.20
ipv6_address: fd4a:8c4:c28b:1000::1
recipient:
image: spf-dkim-dmarc-workshop/recipient
build: ./recipient
hostname: destinataire
dns:
- 172.31.0.53
networks:
internal:
ipv4_address: 172.31.20.1
ipv6_address: fd4a:8c4:c28b:2000::1
attacker:
image: spf-dkim-dmarc-workshop/attacker
build: ./attacker
hostname: attaquant
dns:
- 172.31.0.53
networks:
internal:
ipv4_address: 172.31.30.1
ipv6_address: fd4a:8c4:c28b:3000::1
networks:
internal:
# enable_ipv6: true
internal: true
ipam:
driver: default
config:
- subnet: 172.31.0.0/16
- subnet: fd4a:8c4:c28b::/48
external: