Hello all,
I am following the guide at Enhance Docker Compose Security with CrowdSec and Traefik to use crowdsec with traefik. I needs some help with my docker compose files please.
The files are pasted here
https://docs.google.com/document/d/1aSE7Jee1wvkUcUZO_1Y_yxrqcufD2ElT59GW0Q1HHvw/edit?usp=sharing
as this forum did not allow me to paste the docker compose files here. Thanks.
Edit 1. the earlier google docs link as I had inadvertantly exposed sensetive info.
Edit 2. No longer sharing the google docs link as the issue is solved.
I will reply soon but for now your leaking your cloudflare API key which for ACME would have write privileges to your DNS so please remove this google docs link entirely as it tracks history so anyone with read access can see it.
The error is this line
- "--accessLog.bufferingSize=100 # Configuring a buffer of 100 lines"
The comment is within the "
quotes it should be
- "--accessLog.bufferingSize=100" # Configuring a buffer of 100 lines
The error is quite descriptive on this
2024/03/11 07:40:02 command traefik error: failed to decode configuration from flags: strconv.ParseInt: parsing "100 # Configuring a buffer of 100 lines": invalid syntax
CLASSIFY YOUR API KEY AS COMPROMISED YOU NEED TO ROTATE THEM ASAP
1 Like
Many thanks for your kind help. I owe you a beer or two!