1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-24 08:32:50 +02:00

[Update] Quick fix for docker-compose override file with ipv6 disabled

This commit is contained in:
andryyy 2021-08-16 19:46:39 +02:00
parent 649a5c0159
commit d490c4fde0
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -178,7 +178,7 @@ migrate_docker_nat() {
fi
fi
# Removing legacy container
sed -i '/ipv6nat-mailcow:$/,/^$/d' docker-compose.yml
sed -i '/ipv6nat-mailcow:$/,/^$/d' docker-compose.yml docker-compose.override.yml
echo -e "\e[32mGreat! \e[0mNative IPv6 NAT is active.\e[0m"
else
echo -e "\e[31mPlease upgrade Docker to version ${DOCKERV_REQ} or above.\e[0m"