Disable crowdsec

This commit is contained in:
Colin Hebert
2024-09-05 14:37:21 +10:00
committed by GitHub
parent 9950853d86
commit b1466137f9

View File

@@ -7,10 +7,10 @@ services:
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?} user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
environment: environment:
NASCOMPOSE_DOMAIN: ${NASCOMPOSE_DOMAIN?} NASCOMPOSE_DOMAIN: ${NASCOMPOSE_DOMAIN?}
#CF_DNS_API_TOKEN_FILE: /run/secrets/cf_dns_token CF_DNS_API_TOKEN_FILE: /run/secrets/cf_dns_token
#TRAEFIK_CERTIFICATESRESOLVERS_DEFAULTRESOLVER_ACME_EMAIL: admin@${NASCOMPOSE_DOMAIN?} TRAEFIK_CERTIFICATESRESOLVERS_DEFAULTRESOLVER_ACME_EMAIL: admin@${NASCOMPOSE_DOMAIN?}
#TRAEFIK_ENTRYPOINTS_WEBSECURE_HTTP_TLS_DOMAINS_0_MAIN: '*.${NASCOMPOSE_DOMAIN?}' TRAEFIK_ENTRYPOINTS_WEBSECURE_HTTP_TLS_DOMAINS_0_MAIN: '*.${NASCOMPOSE_DOMAIN?}'
#LEGO_DISABLE_CNAME_SUPPORT: true LEGO_DISABLE_CNAME_SUPPORT: true
networks: networks:
- reverse-proxy - reverse-proxy
volumes: volumes:
@@ -27,23 +27,23 @@ services:
traefik.enable: true traefik.enable: true
traefik.http.routers.traefik.service: api@internal traefik.http.routers.traefik.service: api@internal
traefik.http.routers.traefik.middlewares: authelia@file traefik.http.routers.traefik.middlewares: authelia@file
crowdsec: # crowdsec:
hostname: crowdsec # hostname: crowdsec
image: crowdsecurity/crowdsec # image: crowdsecurity/crowdsec
environment: # environment:
COLLECTIONS: "crowdsecurity/traefik" # COLLECTIONS: "crowdsecurity/traefik"
GID: ${NASCOMPOSE_GID?} # GID: ${NASCOMPOSE_GID?}
networks: # networks:
- reverse-proxy # - reverse-proxy
volumes: # volumes:
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/configs/crowdsec_acquis.yml:/etc/crowdsec/acquis.yaml # - ${NASCOMPOSE_SERVICES?}/reverse-proxy/configs/crowdsec_acquis.yml:/etc/crowdsec/acquis.yaml
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/crowdsec_config/:/etc/crowdsec/ # - ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/crowdsec_config/:/etc/crowdsec/
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/crowdsec_data/:/var/lib/crowdsec/data/ # - ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/crowdsec_data/:/var/lib/crowdsec/data/
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/traefik_logs/:/var/log/traefik/:ro # - ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/traefik_logs/:/var/log/traefik/:ro
restart: unless-stopped # restart: unless-stopped
labels: # labels:
traefik.enable: true # traefik.enable: true
traefik.http.routers.crowdsec.middlewares: authelia@file # traefik.http.routers.crowdsec.middlewares: authelia@file
networks: networks:
reverse-proxy: reverse-proxy: