Hi!
I was trying to figure out how to use fail2ban with traefik and stumbled upon your repo. So I
guess the secret is to get the traefik to log into
- ${PERSISTENT_DIR}/traefik/log:/var/log
and fail2ban
- ${PERSISTENT_DIR}/traefik/log:/var/log:ro
How did u made this? Sorry if its not okay to ask. But quite curious about those numbers.
failregex = ^ - \S+ [] "[A-Z]+ .+" 4(01|03|07|22|23|29) .+$
I haven't tried your image. But I was wondering that don't you need to define the env file in docker-compose?
env_file:
- .env
Hi!
I was trying to figure out how to use fail2ban with traefik and stumbled upon your repo. So I
guess the secret is to get the traefik to log into
and fail2ban
How did u made this? Sorry if its not okay to ask. But quite curious about those numbers.
failregex = ^ - \S+ [] "[A-Z]+ .+" 4(01|03|07|22|23|29) .+$
I haven't tried your image. But I was wondering that don't you need to define the env file in docker-compose?
env_file:
- .env