docs: add detailed instructions for removing and running dokploy-traefik service in troubleshooting guide
Some checks are pending
Build Docker images / build-and-push-image-docs (push) Waiting to run
Build Docker images / build-and-push-image-website (push) Waiting to run

This commit is contained in:
Mauricio Siu 2025-06-21 15:59:34 -06:00
parent 82a5340daa
commit 8069b7b83d

View File

@ -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