Potential bug Report: Zitadel self-hosted deploy on Dokploy fails #145

Open
opened 2025-11-22 20:31:09 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @chasylexus on GitHub (Nov 3, 2025).

To Reproduce

Bug Report: Zitadel self-hosted deploy on Dokploy fails with “Not Found” after setting custom subdomain

Description

I tried to deploy a self-hosted Zitadel instance using Dokploy from the built-in template, configured with a custom domain.

Here’s my setup:

  1. Dokploy is running under a custom domain, e.g. dokploy.testhost.com.
  2. For Zitadel, I set a subdomain zitadel.dokploy.testhost.com:
    • Added it under tab Env Vars
    • Set the same subdomain in the Domain tab (removed the default domain provided by Traefik)
  3. Deployment completes successfully.

Problem

When I try to open the Zitadel web interface, it starts to load but then redirects to a page showing:

{"code":5,"message":"Not Found"}

Current vs. Expected behavior

Expected: working web interface of Citadel
Current: websited is "trying to open" but redirects to page with json {"code":5,"message":"Not Found"}.

Provide environment information

Zitadel web interface should open correctly under the configured subdomain.

Reproduction Steps
	1.	Set up Dokploy with a custom domain (e.g., dokploy.testhost.com)
	2.	Deploy Zitadel from the template
	3.	Configure Zitadel domain as zitadel.dokploy.testhost.com
	4.	Remove the default Traefik-provided domain
        5.      Set the same domain zitadel.dokploy.testhost.com in env var
	6.	Access https://zitadel.dokploy.testhost.com
	7.	Observe the error

Environment
	•	Dokploy version: (the latest)
	•	Zitadel version: (the latest)
	•	OS / Host: (Ubuntu 24.04 LTS)
	•	Deployment type: Self-hosted via Dokploy template
	•	Reverse proxy: Traefik (default from Dokploy)

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

Traefik

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

Same server where Dokploy is installed

Additional context

See the attached video demonstrating the issue.

https://github.com/user-attachments/assets/87f5abfd-e672-4ae9-964c-8e16d628df3c

Will you send a PR to fix it?

No

Originally created by @chasylexus on GitHub (Nov 3, 2025). ### To Reproduce ## Bug Report: Zitadel self-hosted deploy on Dokploy fails with “Not Found” after setting custom subdomain ### Description I tried to deploy a self-hosted **Zitadel** instance using **Dokploy** from the built-in template, configured with a **custom domain**. Here’s my setup: 1. Dokploy is running under a custom domain, e.g. `dokploy.testhost.com`. 2. For Zitadel, I set a subdomain `zitadel.dokploy.testhost.com`: - Added it under tab **Env Vars** - Set the same subdomain in the **Domain** tab (removed the default domain provided by Traefik) 3. Deployment completes successfully. ### Problem When I try to open the Zitadel web interface, it starts to load but then redirects to a page showing: ```json {"code":5,"message":"Not Found"} ``` ### Current vs. Expected behavior Expected: working web interface of Citadel Current: websited is "trying to open" but redirects to page with json {"code":5,"message":"Not Found"}. ### Provide environment information ```bash Zitadel web interface should open correctly under the configured subdomain. Reproduction Steps 1. Set up Dokploy with a custom domain (e.g., dokploy.testhost.com) 2. Deploy Zitadel from the template 3. Configure Zitadel domain as zitadel.dokploy.testhost.com 4. Remove the default Traefik-provided domain 5. Set the same domain zitadel.dokploy.testhost.com in env var 6. Access https://zitadel.dokploy.testhost.com 7. Observe the error Environment • Dokploy version: (the latest) • Zitadel version: (the latest) • OS / Host: (Ubuntu 24.04 LTS) • Deployment type: Self-hosted via Dokploy template • Reverse proxy: Traefik (default from Dokploy) ``` ### Which area(s) are affected? (Select all that apply) Traefik ### Are you deploying the applications where Dokploy is installed or on a remote server? Same server where Dokploy is installed ### Additional context See the attached video demonstrating the issue. https://github.com/user-attachments/assets/87f5abfd-e672-4ae9-964c-8e16d628df3c ### Will you send a PR to fix it? No
Author
Owner

@emretaskiran1 commented on GitHub (Nov 16, 2025):

I got same error.

@emretaskiran1 commented on GitHub (Nov 16, 2025): I got same error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#145