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?}
environment:
NASCOMPOSE_DOMAIN: ${NASCOMPOSE_DOMAIN?}
#CF_DNS_API_TOKEN_FILE: /run/secrets/cf_dns_token
#TRAEFIK_CERTIFICATESRESOLVERS_DEFAULTRESOLVER_ACME_EMAIL: admin@${NASCOMPOSE_DOMAIN?}
#TRAEFIK_ENTRYPOINTS_WEBSECURE_HTTP_TLS_DOMAINS_0_MAIN: '*.${NASCOMPOSE_DOMAIN?}'
#LEGO_DISABLE_CNAME_SUPPORT: true
CF_DNS_API_TOKEN_FILE: /run/secrets/cf_dns_token
TRAEFIK_CERTIFICATESRESOLVERS_DEFAULTRESOLVER_ACME_EMAIL: admin@${NASCOMPOSE_DOMAIN?}
TRAEFIK_ENTRYPOINTS_WEBSECURE_HTTP_TLS_DOMAINS_0_MAIN: '*.${NASCOMPOSE_DOMAIN?}'
LEGO_DISABLE_CNAME_SUPPORT: true
networks:
- reverse-proxy
volumes:
@@ -27,23 +27,23 @@ services:
traefik.enable: true
traefik.http.routers.traefik.service: api@internal
traefik.http.routers.traefik.middlewares: authelia@file
crowdsec:
hostname: crowdsec
image: crowdsecurity/crowdsec
environment:
COLLECTIONS: "crowdsecurity/traefik"
GID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- ${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_data/:/var/lib/crowdsec/data/
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/traefik_logs/:/var/log/traefik/:ro
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.crowdsec.middlewares: authelia@file
# crowdsec:
# hostname: crowdsec
# image: crowdsecurity/crowdsec
# environment:
# COLLECTIONS: "crowdsecurity/traefik"
# GID: ${NASCOMPOSE_GID?}
# networks:
# - reverse-proxy
# volumes:
# - ${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_data/:/var/lib/crowdsec/data/
# - ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/traefik_logs/:/var/log/traefik/:ro
# restart: unless-stopped
# labels:
# traefik.enable: true
# traefik.http.routers.crowdsec.middlewares: authelia@file
networks:
reverse-proxy: