From a3779b4e3860171ac440619bb00048b1c67745b5 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:24:44 +0200 Subject: [PATCH] chore: adjust crowdsec bind mounts --- examples/crowdsec/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/crowdsec/docker-compose.yml b/examples/crowdsec/docker-compose.yml index 0f4d281..005c9e1 100644 --- a/examples/crowdsec/docker-compose.yml +++ b/examples/crowdsec/docker-compose.yml @@ -7,11 +7,12 @@ services: expose: - 8080 volumes: - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/logs:/var/log/crowdsec:ro + # crowdsec container data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/data:/var/lib/crowdsec/data - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/etc:/etc/crowdsec + # log bind mounts into crowdsec + - /var/log/auth.log:/var/log/auth.log:ro - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/var/log/traefik:ro - - /var/log/auth.log:/var/log/auth.log:ro environment: - GID=1000 - BOUNCER_KEY_TRAEFIK=${CROWDSEC-BOUNCER-API-TOKEN:-FIXME-LAPI-KEY}