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

77 lines
1.6 KiB
YAML

version: '3.8'
name: 'spf-dkim-dmarc-workshop'
services:
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
external:
ports:
- "3000:3000"
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.10.1
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
external:
ports:
- "127.0.0.1:8225:8225"
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.10.0/16
- subnet: fd4a:8c4:c28b::/48
external: