Update Security_Containers/crowdsec/compose.yaml

This commit is contained in:
2026-05-14 03:29:17 +00:00
parent adfd706f6f
commit 092331824c
+1 -21
View File
@@ -9,10 +9,10 @@ services:
COLLECTIONS: "crowdsecurity/linux crowdsecurity/traefik" COLLECTIONS: "crowdsecurity/linux crowdsecurity/traefik"
volumes: volumes:
- ./acquis.yaml:/etc/crowdsec/acquis.yaml:ro - ./acquis.yaml:/etc/crowdsec/acquis.yaml:ro
- /srv/docker/crowdsec/crowdsec-db:/var/lib/crowdsec/data/
- /srv/docker/crowdsec/crowdsec-config:/etc/crowdsec/:ro - /srv/docker/crowdsec/crowdsec-config:/etc/crowdsec/:ro
- /srv/docker/crowdsec/crowdsec-config/online_api_credentials.yaml:/etc/crowdsec/online_api_credentials.yaml:rw - /srv/docker/crowdsec/crowdsec-config/online_api_credentials.yaml:/etc/crowdsec/online_api_credentials.yaml:rw
- /srv/docker/crowdsec/crowdsec-config/local_api_credentials.yaml:/etc/crowdsec/local_api_credentials.yaml:rw - /srv/docker/crowdsec/crowdsec-config/local_api_credentials.yaml:/etc/crowdsec/local_api_credentials.yaml:rw
- /srv/docker/crowdsec/crowdsec-db:/var/lib/crowdsec/data/
- traefik_traefik-logs:/var/log/traefik/:ro - traefik_traefik-logs:/var/log/traefik/:ro
labels: labels:
- "traefik.enable=false" - "traefik.enable=false"
@@ -25,26 +25,6 @@ services:
timeout: 5s timeout: 5s
retries: 3 retries: 3
bouncer-traefik:
image: ghcr.io/crowdsecurity/traefik-bouncer:latest
container_name: bouncer-traefik
security_opt:
- no-new-privileges:true
environment:
CROWDSEC_BOUNCER_API_KEY: ${CROWDSEC_BOUNCER_API_KEY}
CROWDSEC_AGENT_HOST: crowdsec:8080
networks:
- traefik_network
depends_on:
crowdsec:
condition: service_healthy
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/api/v1/ping"]
interval: 10s
timeout: 5s
retries: 3
networks: networks:
traefik_network: traefik_network:
external: true external: true