DNS resolution doesn't work with Isolated Deployment #152

Open
opened 2025-11-22 20:31:14 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @loics2 on GitHub (Nov 13, 2025).

To Reproduce

  1. deploy bookstack from the Dokploy templates
  2. set the DOMAIN env var to my.domain.com
  3. edit the domain to set the same host and enable HTTPS with Let's Encrypt

Current vs. Expected behavior

The main container bookstack cannot access the database using the host name bookstack-db.

Here's bookstack logs:

cloud-bookstack-kknnih-bookstack-1-20251113_195655.log.txt

Provide environment information

Ubuntu 24.04.3 LTS x86_64
Dokploy v0.25.6

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Disabling the Isolated Deployment and adding the external dokploy-network in the docker compose file seems to fix the issue.

Will you send a PR to fix it?

Maybe, need help

Originally created by @loics2 on GitHub (Nov 13, 2025). ### To Reproduce 1. deploy bookstack from the Dokploy templates 2. set the `DOMAIN` env var to `my.domain.com` 3. edit the domain to set the same host and enable HTTPS with Let's Encrypt ### Current vs. Expected behavior The main container `bookstack` cannot access the database using the host name `bookstack-db`. Here's `bookstack` logs: [cloud-bookstack-kknnih-bookstack-1-20251113_195655.log.txt](https://github.com/user-attachments/files/23533606/cloud-bookstack-kknnih-bookstack-1-20251113_195655.log.txt) ### Provide environment information ```bash Ubuntu 24.04.3 LTS x86_64 Dokploy v0.25.6 ``` ### Which area(s) are affected? (Select all that apply) Docker Compose ### Are you deploying the applications where Dokploy is installed or on a remote server? Same server where Dokploy is installed ### Additional context Disabling the Isolated Deployment and adding the external `dokploy-network` in the docker compose file seems to fix the issue. ### Will you send a PR to fix it? Maybe, need help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#152