From 0c2c4b6bad851c47812b3a13237a7ffb364f5709 Mon Sep 17 00:00:00 2001 From: Mathieu Poussin Date: Tue, 12 Aug 2025 21:08:49 +0200 Subject: [PATCH 1/2] Add compatibility with end-to-end IPv6 --- apps/website/public/install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/website/public/install.sh b/apps/website/public/install.sh index e8cf52c5..39900e79 100644 --- a/apps/website/public/install.sh +++ b/apps/website/public/install.sh @@ -98,6 +98,8 @@ install_dokploy() { fi echo "Using advertise address: $advertise_addr" + docker network rm -f docker_gwbridge 2>/dev/null + docker network create docker_gwbridge --ipv4 --ipv6 --driver bridge docker swarm init --advertise-addr $advertise_addr if [ $? -ne 0 ]; then @@ -108,9 +110,12 @@ install_dokploy() { echo "Swarm initialized" docker network rm -f dokploy-network 2>/dev/null - docker network create --driver overlay --attachable dokploy-network + docker network create --driver overlay --attachable --ipv4 --ipv6 dokploy-network + yes | docker network rm -f ingress 2>/dev/null + sleep 1 # race condition after the delete + docker network create --ipv4 --ipv6 --driver overlay --ingress ingress - echo "Network created" + echo "Networks created" mkdir -p /etc/dokploy @@ -152,6 +157,7 @@ install_dokploy() { docker run -d \ --name dokploy-traefik \ + --network dokploy-network \ --restart always \ -v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml \ -v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic \ From 9f2076b0819fecfab533912392f7d57539706696 Mon Sep 17 00:00:00 2001 From: Mathieu Poussin Date: Tue, 12 Aug 2025 21:12:20 +0200 Subject: [PATCH 2/2] Fix indent --- apps/website/public/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/public/install.sh b/apps/website/public/install.sh index 39900e79..a4d35039 100644 --- a/apps/website/public/install.sh +++ b/apps/website/public/install.sh @@ -157,7 +157,7 @@ install_dokploy() { docker run -d \ --name dokploy-traefik \ - --network dokploy-network \ + --network dokploy-network \ --restart always \ -v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml \ -v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic \