Skip to content

Traefik mount additional volume for logs #3379

@theapplegeek

Description

@theapplegeek

What problem will this feature address?

The Docker logs of dokploy-traefik do not show Traefik access logs.
To work around this, I configured Traefik to write logs to files under
/etc/dokploy/traefik/dynamic/logs, but this path is not appropriate for this purpose.

Describe the solution you'd like

I think the best approach would be to add a dedicated volume bind for Traefik logs, for example /etc/dokploy/traefik/logs:/etc/dokploy/traefik/logs.
This would provide a proper and persistent location for Traefik logs and avoid mixing log files with dynamic configuration.

Describe alternatives you've considered

N/A

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions