Skip to content

Commit a3779b4

Browse files
authored
chore: adjust crowdsec bind mounts
1 parent 38dabad commit a3779b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/crowdsec/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ services:
77
expose:
88
- 8080
99
volumes:
10-
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/logs:/var/log/crowdsec:ro
10+
# crowdsec container data
1111
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/data:/var/lib/crowdsec/data
1212
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/etc:/etc/crowdsec
13+
# log bind mounts into crowdsec
14+
- /var/log/auth.log:/var/log/auth.log:ro
1315
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/var/log/traefik:ro
14-
- /var/log/auth.log:/var/log/auth.log:ro
1516
environment:
1617
- GID=1000
1718
- BOUNCER_KEY_TRAEFIK=${CROWDSEC-BOUNCER-API-TOKEN:-FIXME-LAPI-KEY}

0 commit comments

Comments
 (0)