Skip to content

Compose domains not generating Traefik config → all routes return 404 #4324

@xndyz

Description

@xndyz

To Reproduce

To Reproduce

  1. Deploy a Docker Compose app with two services:
    • client running on port 3002
    • backend running on port 3001
  2. Configure domains in Dokploy:
    • example.com → service client → path / → port 3002
    • example.com → service backend → path /api → port 3001
  3. Redeploy the compose
  4. Check Traefik dynamic config directory:

ls /etc/dokploy/traefik/dynamic
5. Access:
`https://example.com

https://example.com/api/config`

Current vs. Expected behavior

Expected:

  • Dokploy generates a dynamic Traefik config file for the compose
  • Routes:
    • / → client (3002)
    • /api → backend (3001)
  • App loads correctly

Actual:

  • No dynamic config file is created for this compose
  • /etc/dokploy/traefik/dynamic does not contain any file for this app
  • All routes return 404
  • Containers are running and healthy

Provide environment information

Ubuntu 20.04

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

No response

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions