crowdsec_manager icon indicating copy to clipboard operation
crowdsec_manager copied to clipboard

Captcha Protection -Failed to apply configuration

Open p4xel opened this issue 7 months ago • 1 comments

I am trying to configure Captcha Protection in Crowdsec-Manager I manually configured it and it works, but when I try to configure and apply in GUI it shows me "Failed to apply configuration" notification. Nothing in logs, even after setting logging to Debug. HTML file gets created. Turnstile keys are being added to traefik dynamic config. In [Detect] shows all checked apart from (!) docker compose. How should it be configured?

Here is my docker-compose.yml section:

  crowdsec-manager:
    image: hhftechnology/crowdsec-manager:latest
    container_name: crowdsec-manager
    restart: unless-stopped
    depends_on:
      crowdsec:
        condition: service_healthy
    expose:
      - "8080"
    environment:
      - PORT=8080
      - ENVIRONMENT=production
      - TRAEFIK_CONTAINER_NAME=traefik
      - TRAEFIK_DYNAMIC_CONFIG=/etc/traefik/dynamic_config.yml
      - TRAEFIK_STATIC_CONFIG=/etc/traefik/traefik_config.yml
      - LOG_LEVEL=info
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./docker-compose.yml:/app/docker-compose.yml:ro
      - ./config:/app/config
      - ./config/crowdsec-manager/data:/app/data
      - ./config/crowdsec-manager/logs:/app/logs
    networks:
      - pangolin

p4xel avatar Apr 22 '26 15:04 p4xel

traefik container will be write protected. captcha need to write html file to traefik.

hhftechnology avatar Apr 23 '26 06:04 hhftechnology