mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
docs: add detailed instructions for removing and running dokploy-traefik service in troubleshooting guide
This commit is contained in:
@@ -415,6 +415,23 @@ docker service rm dokploy-postgres
|
|||||||
Remove the dokploy-traefik service:
|
Remove the dokploy-traefik service:
|
||||||
|
|
||||||
```bash
|
```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
|
docker service rm dokploy-traefik
|
||||||
|
|
||||||
# Create a new dokploy-traefik service
|
# 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:
|
# 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
|
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
|
# Create the dokploy service
|
||||||
|
|||||||
Reference in New Issue
Block a user