Commit 88a02a0e authored by kaiyou's avatar kaiyou

Add ipv6 support to Mailu

parent f8e085e9
......@@ -28,6 +28,15 @@ services:
- "${ipv4}:995:995"
- "${ipv4}:143:143"
- "${ipv4}:993:993"
- "${ipv6}:80:80"
- "${ipv6}:443:443"
- "${ipv6}:25:25"
- "${ipv6}:465:465"
- "${ipv6}:587:587"
- "${ipv6}:110:110"
- "${ipv6}:995:995"
- "${ipv6}:143:143"
- "${ipv6}:993:993"
volumes:
- "/srv/apps/mailu/certs:/certs"
- "/srv/apps/mailu/overrides/nginx:/overrides"
......@@ -126,13 +135,16 @@ services:
depends_on:
- imap
networks:
default:
enable_ipv6: true
driver: bridge
labels:
- snat4=${ipv4}
- snat6=${ipv6}
ipam:
driver: default
config:
- subnet: 192.168.203.0/24
- subnet: 192.168.203.0/24
- subnet: "${prefix}/80"
gateway: "${prefix}1"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment