mirror of
https://github.com/chr0nzz/traefik-manager.git
synced 2026-05-09 05:35:22 +02:00
[GH-ISSUE #5] Can't get container to start #4
Labels
No labels
bug
bug
bug
feature request
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/traefik-manager#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @himan7991 on GitHub (Mar 25, 2026).
Original GitHub issue: https://github.com/chr0nzz/traefik-manager/issues/5
Originally assigned to: @chr0nzz on GitHub.
docker-composefrom README or docsdocker compose updocker compose:
Logs:
Also the
Traefik API: http://traefik:8080is not correct, am I supposed to set it from the compose?Is there something I should've done or..? Thanks
@chr0nzz commented on GitHub (Mar 25, 2026):
Hi! There are actually a couple of things going on here.
Startup crash (NameError) this is a bug in the app, not your config. On a fresh install where no password has been set yet, _ensure_password() was calling a helper function that wasn't defined yet at load time. This is fixed in the latest code please pull latest again once a new image is pushed.
Two things to also fix in your compose:
You're mounting traefik.conf as the dynamic config (../configs/traefik/traefik.conf:/app/config/dynamic.yml). Traefik Manager reads and writes this file as YAML. If your .conf file is TOML or any other format, the app will fail to parse it. Rename it to .yml and make sure it's valid dynamic YAML, or create a new empty dynamic.yml and point at that.
Make sure you mount the Dynamic file and not the Static file.
The traefik API address is not needed for compose file. You set that during the setup process, or you can use env var if you want.
Let me know if you hit any other issues!
@himan7991 commented on GitHub (Mar 25, 2026):
traefik.confwas actually a yml file, but I had them mixed up, and it was actually the static config. I just liked the .conf name, but I have seen it's not a very standard practice, so I changed tostatic.yml, created a newdynamic.yml, and I will be passing it to the container as you sayI'll be waiting for the new version to try it out. Thanks!
@chr0nzz commented on GitHub (Mar 25, 2026):
the update is out, if you updated the compose with the correct mounts
run
docker compose pull && docker compose up -dand let me know if you come across any more issues
@himan7991 commented on GitHub (Mar 25, 2026):
Awesome. It seems to be working now! Thank you