Compose apps not accessible via domain - missing dokploy-network connection
Description
When deploying a Docker Compose app and assigning a domain via Dokploy UI, the app is not accessible (gateway timeout). Traefik labels are added correctly but the container cannot be reached.
Steps to Reproduce
- Create a new Compose app in Dokploy
- Deploy a simple compose file (e.g., with a web service on port 3000)
- Assign a domain to the app in Dokploy UI
- Try to access the domain
Expected Behavior
App should be accessible via the assigned domain.
Actual Behavior
- Gateway timeout (504)
- Traefik shows the route exists but service is unreachable
Root Cause Analysis
After debugging, we found that Dokploy adds Traefik labels to the compose file but does not:
- Add
dokploy-networkto the service's networks - Add
traefik.docker.network=dokploy-networklabel - Add
dokploy-networkas an external network in the compose file
This means the container runs on its own isolated compose network, which Traefik (running on dokploy-network) cannot reach.
Workaround
Manually add to compose file:
services:
my-service:
networks:
- default
- dokploy-network
labels:
- traefik.docker.network=dokploy-network
networks:
dokploy-network:
external: true
Environment
- Dokploy: Latest
- Ubuntu: 24.04.3 LTS
- Docker: 29.1.2
- Traefik: v3.6.4
Suggested Fix
When a domain is assigned to a compose app, Dokploy should automatically:
- Inject
dokploy-networkinto the service's networks list - Add
traefik.docker.network=dokploy-networklabel - Add
dokploy-networkas an external network definition
🤖 Generated with Claude Code
I agree, after updating to v.0.26, all applications created by Compose - return 404 upd Traefik logs:
2025-12-09T18:17:36Z ERR Failed to retrieve information of the docker client and server host error="Error response from daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version" providerName=swarm
2025-12-09T18:17:36Z ERR Provider error, retrying in 9.967172181s error="Error response from daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version" providerName=swarm
me too!
Read our documentation this has been the same behavior as always https://docs.dokploy.com/docs/core/docker-compose/domains#how-it-works read the Notes the second item in the list
I agree, after updating to v.0.26, all applications created by Compose - return 404 upd Traefik logs:
2025-12-09T18:17:36Z ERR Failed to retrieve information of the docker client and server host error="Error response from daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version" providerName=swarm 2025-12-09T18:17:36Z ERR Provider error, retrying in 9.967172181s error="Error response from daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version" providerName=swarm
Read this https://github.com/Dokploy/dokploy/releases/tag/v0.25.7
Since this is a question feel free to reopen or open a discussion. thank you
It literally says Dokploy does this automatically not that we need to do manually each time and these docker compose files are from the templates
I had a working domain on my deploy, this error started and I lost the application to a 404 without me knowing about it. This was application from a template.
Pretty much a show stopper for me when I see stability issues like this. The OS upgrades are a security practice.
The v0.25.7 instructions did not solve anything, after executing and even restarting and rebooting.
I get that a solution is difficult or even impossible - but that just makes dokploy unsuitable for my production applications.