To Reproduce
- Create a database service
- Deploy with default network configs (attached only to
dokploy-network)
- Check that the service is running, and check terminal availability via the
Open Terminal button
- Stop the service
- Go to Docker > Networks > Add network and create a new network with the overlay driver
- Go back to the service page > Advanced > Networks and select the network just created and save
- Go back to General > Deploy to redeploy and apply the changes
Current vs. Expected behavior
Expected:
service starts up, and is attached to the network in addition to being attached to dokploy-network. Service is up and reachable.
Actual:
service visually seems to start up fine (UI) but Open Terminal does not find a container.
The docker service ls command shows 0/1 replicas, and docker ps -a does not show the container at all.
In this state, clicking the "Reload" button, then switching tab and switching back (General > Environment > General), updates the UI, which will now correctly display the service as stopped. In this state the database service is clearly not available. Re-deploying does not fix the issue.
Additional notes:
Issue persists even when detaching the dokploy-network; leaving only the network just created for the service.
If changes are reverted (network is removed from the service) and the service is re-deployed, everything starts working as expected again.
Provide environment information
Docker version 29.6.2
Docker Compose version v5.3.1
Dokploy version v0.30.2
Dokploy self hosted on Ubuntu Server VPS
Which area(s) are affected? (Select all that apply)
Databases, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
I tested with MariaDB and PostgreSQL database services.
Will you send a PR to fix it?
No
To Reproduce
dokploy-network)Open TerminalbuttonCurrent vs. Expected behavior
Expected:
service starts up, and is attached to the network in addition to being attached to
dokploy-network. Service is up and reachable.Actual:
service visually seems to start up fine (UI) but
Open Terminaldoes not find a container.The
docker service lscommand shows 0/1 replicas, anddocker ps -adoes not show the container at all.In this state, clicking the "Reload" button, then switching tab and switching back (General > Environment > General), updates the UI, which will now correctly display the service as stopped. In this state the database service is clearly not available. Re-deploying does not fix the issue.
Additional notes:
Issue persists even when detaching the dokploy-network; leaving only the network just created for the service.
If changes are reverted (network is removed from the service) and the service is re-deployed, everything starts working as expected again.
Provide environment information
Which area(s) are affected? (Select all that apply)
Databases, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
I tested with MariaDB and PostgreSQL database services.
Will you send a PR to fix it?
No