Regression in v0.30.2: Traefik does not start after server reboot
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
To Reproduce
- Install Dokploy v0.30.2 on a fresh server.
- Verify that Dokploy and its managed URLs are working correctly.
- Restart the server:
sudo reboot - After the server comes back online, check the running containers:
docker ps - Inspect the Dokploy network:
docker network inspect dokploy-network - Observe that Dokploy and PostgreSQL are running, while Traefik is not running or is not correctly connected/available.
Current vs. Expected behavior
Current: Traefik works correctly immediately after the initial installation, but after a server reboot it does not start correctly. Dokploy and PostgreSQL restart normally, but because Traefik is unavailable, all applications and domains routed through Traefik become inaccessible.
Expected: Traefik should automatically restart after a server reboot and remain connected to dokploy-network. All Dokploy-managed applications and domains should remain accessible after the reboot without requiring manual intervention.
Suspected cause: In v0.29.13, the install script explicitly ran docker network connect dokploy-network dokploy-traefik after creating the Traefik container. This command appears to be missing from the v0.30.2 install script, which may explain why Traefik loses its network connection after a reboot.
Provide environment information
- Dokploy: v0.30.2
- Traefik: v3.6.7
- Docker: Docker Swarm
- OS: Ubuntu
Which area(s) are affected? (Select all that apply)
Traefik, Installation
Are you deploying the applications where Dokploy is installed or on a remote server?
Both
Additional context
A possible fix would be to restore the docker network connect dokploy-network dokploy-traefik command after Traefik container creation, and optionally verify the connection before completing installation, e.g.:
docker network inspect dokploy-network --format '{{range .Containers}}{{.Name}}{{"\n"}}{{end}}' | grep -q '^dokploy-traefik$'
A longer-term alternative could be running Traefik as a Docker Swarm service (like Dokploy and PostgreSQL) for more consistent lifecycle management.
Will you send a PR to fix it?
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the v0.30.2 install script with the v0.29.13 version, focusing on Traefik creation and its connection to dokploy-network. Reproduce the issue with a reboot, then use docker ps and docker network inspect dokploy-network to verify that Traefik restarts, remains connected, and managed applications and domains stay accessible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100