From 8069b7b83da2771fe596fb0741855e921072afb0 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 21 Jun 2025 15:59:34 -0600 Subject: [PATCH] docs: add detailed instructions for removing and running dokploy-traefik service in troubleshooting guide --- .../content/docs/core/troubleshooting.mdx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/docs/core/troubleshooting.mdx b/apps/docs/content/docs/core/troubleshooting.mdx index 7c2d575..0006495 100644 --- a/apps/docs/content/docs/core/troubleshooting.mdx +++ b/apps/docs/content/docs/core/troubleshooting.mdx @@ -415,6 +415,23 @@ docker service rm dokploy-postgres Remove the dokploy-traefik service: ```bash +# If you are using docker standalone traefik +docker rm -f dokploy-traefik + +docker run -d \ + --name dokploy-traefik \ + --restart always \ + -v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml \ + -v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -p 80:80/tcp \ + -p 443:443/tcp \ + -p 443:443/udp \ + traefik:v3.1.2 + +docker network connect dokploy-network dokploy-traefik + +# If you are using docker service traefik docker service rm dokploy-traefik # Create a new dokploy-traefik service @@ -441,7 +458,7 @@ docker service rm dokploy # Run this command to get the private IP of your server: -Copy this value and paste in the ADVERTISE_ADDR variable: +# Copy this value and paste in the ADVERTISE_ADDR variable: ip addr show | grep -E "inet (192\.168\.|10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[0-1]\.)" | head -n1 | awk '{print $2}' | cut -d/ -f1 # Create the dokploy service