Domain Access Fails for Services Created via Docker Compose #1328
Unanswered
cunpingtai
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Can you try to deploy this basic template? services:
proof:
image: traefik/whoami and in your domain assign like this: I tried the same steps as the video and it works fine for me, also for docker-compose we don't create files as we do in applications, so this is normal behavior |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I conducted tests using the same domain and discovered that, in method (1), Traefik’s File System dynamic directory automatically generates a corresponding configuration file. However, in method (2), no such configuration file is created in the dynamic directory of the Traefik File System.
Originally, my Dokploy version was 0.8, but even after upgrading to the latest 0.18 version, the issue persists.
I recorded a video demonstrating that when using the same domain across applications created with different methods, only those created via Compose fail to be accessed via the domain. I can’t figure out what’s causing the issue and would really appreciate some help.
The video is just one example. I’ve tried creating services using different templates, but none of them work. Even following the tutorial from Dokploy’s official documentation doesn’t solve the issue.
youtube
Current vs. Expected behavior
Current Behavior:
• When creating an application using the Template or Compose method, configuring a domain, and deploying the service, the domain does not successfully route to the service.
• However, accessing the service inside the container using curl 127.0.0.1: returns a normal response.
• After deployment, no corresponding configuration file is generated in the dynamic directory of Traefik’s File System.
Expected Behavior:
• The service should be accessible via the configured domain, just like when deploying through the Application button.
• A corresponding configuration file should be automatically created in the dynamic directory of Traefik’s File System upon deployment.
Provide environment information
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
youtube
Will you send a PR to fix it?
No
Beta Was this translation helpful? Give feedback.
All reactions