Closed brando56894 closed 1 month ago
Make sure all your Docker services are rebooted/recreated. Do docker compose down
then docker compose up -d
to make sure their labels are all refreshed.
I just had to redo everything for other reasons so everything is fresh and I'm still getting that warning.
Tested with 29-alpine and things work fine, so I guess you just need to upgrade to a later version.
Caddy recently updated the name of basicauth to _basicauth and while the former still works, it spams the logfile with tens or hundreds of messages about it. It appears that whatever magic is used to convert Docker labels to Caddy config files still interprets _basicauth as basicauth which results in a ton of log spamming as mentioned before.
Here's a section of my compose file with the updated directive name in the label
And the resulting chunk from Caddyfile.autosave
And the resulting log spamming