Guest User

Untitled

a guest
Mar 24th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. crowdsec:
  2. image: crowdsecurity/crowdsec:v1.6.6
  3. restart: unless-stopped
  4. environment:
  5. COLLECTIONS: "crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/http-dos crowdsecurity/wordpress Dominic-Wagner/vaultwarden LePresidente/grafana LePresidente/overseerr"
  6. CUSTOM_HOSTNAME: crowdsec
  7. BOUNCER_KEY_PLUGIN: <REDACTED>
  8. DOCKER_HOST: tcp://traefik_dockerproxy:2375
  9. deploy:
  10. placement:
  11. constraints:
  12. - node.role == manager
  13. volumes:
  14. - logs:/var/log/traefik:ro
  15. - crowdsec-config:/etc/crowdsec/
  16. labels:
  17. - "traefik.enable=false"
  18. networks:
  19. - crowdsec
  20.  
  21. dockerproxy:
  22. image: ghcr.io/tecnativa/docker-socket-proxy:0.3
  23. container_name: dockerproxy
  24. environment:
  25. environment:
  26. - LOG_LEVEL=info # debug,info,notice,warning,err,crit,alert,emerg (default=info)
  27. ## Variables match the URL prefix (i.e. AUTH blocks access to /auth/* parts of the API, etc.).
  28. # 0 to revoke access.
  29. # 1 to grant access.
  30. ## Granted by Default
  31. - EVENTS=1
  32. - PING=1
  33. - VERSION=1
  34. ## Revoked by Default
  35. # Security critical
  36. - AUTH=0
  37. - SECRETS=0
  38. - POST=0 # Watchtower
  39. # Not always needed
  40. - BUILD=0
  41. - COMMIT=0
  42. - CONFIGS=0
  43. - ALLOW_START=0
  44. - ALLOW_STOP=0
  45. - ALLOW_RESTARTS=0
  46. - CONTAINERS=1 # Traefik, portainer, netdata etc.
  47. - DISTRIBUTION=0
  48. - EXEC=0
  49. - IMAGES=0 # Portainer
  50. - INFO=1 # Portainer
  51. - NETWORKS=0 # Portainer
  52. - NODES=0
  53. - PLUGINS=0
  54. - SERVICES=1 # Portainer
  55. - SESSION=0
  56. - SWARM=1
  57. - SYSTEM=1
  58. - TASKS=0 # Portainer
  59. - VOLUMES=0 # Portainer
  60. networks:
  61. - crowdsec
  62. deploy:
  63. placement:
  64. constraints: [node.role == manager]
  65. volumes:
  66. - /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
  67. restart: unless-stopped
  68.  
Advertisement
Add Comment
Please, Sign In to add comment