Compare commits

...
2 Commits
Author SHA1 Message Date
chriswin f617beff36 :Merge branch 'main' of https://gitea.crescentec.ch/chriswin/vps-server 2026-08-10 14:33:05 +00:00
chriswin e3b0cf5dcf update bouncer config 2026-08-10 14:32:36 +00:00
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ services:
image: crowdsecurity/crowdsec:v1.7.8 image: crowdsecurity/crowdsec:v1.7.8
environment: environment:
COLLECTIONS: crowdsecurity/traefik crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-generic-rules crowdsecurity/http-cve COLLECTIONS: crowdsecurity/traefik crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-generic-rules crowdsecurity/http-cve
CROWDSEC_BOUNCER_API_KEY: ${CROWDSEC_API_KEY} BOUNCER_KEY_traefik: ${CROWDSEC_API_KEY}
CUSTOM_HOSTNAME: crowdsec CUSTOM_HOSTNAME: crowdsec
ports: ports:
- 6061:8080 - 6061:8080
+3 -2
View File
@@ -8,7 +8,7 @@ http:
enabled: true enabled: true
logLevel: INFO logLevel: INFO
updateIntervalSeconds: 60 updateIntervalSeconds: 60
crowdsecMode: live crowdsecMode: stream
crowdsecAppsecEnabled: true crowdsecAppsecEnabled: true
crowdsecAppsecFailureBlock: true crowdsecAppsecFailureBlock: true
crowdsecAppsecUnreachableBlock: true crowdsecAppsecUnreachableBlock: true
@@ -20,7 +20,8 @@ http:
forwardedHeadersTrustedIPs: forwardedHeadersTrustedIPs:
- 10.0.0.0/8 - 10.0.0.0/8
clientTrustedIPs: clientTrustedIPs:
- 192.168.178.0/24 - 192.168.1.0/24
- 100.64.0.0/24
# captchaProvider: hcaptcha # captchaProvider: hcaptcha
# captchaSiteKey: b2d20610-8dda-4f40-8688-7ca8e1e628f8 # found in hcaptcha account # captchaSiteKey: b2d20610-8dda-4f40-8688-7ca8e1e628f8 # found in hcaptcha account
# captchaSecretKey: {{ env "TRAEFIK_CAPTCHA_KEY" }} # captchaSecretKey: {{ env "TRAEFIK_CAPTCHA_KEY" }}
+2 -1
View File
@@ -10,7 +10,8 @@ services:
- "443:443" - "443:443"
- "8079:8080" - "8079:8080"
networks: networks:
- ip4net ip4net:
ipv4_address: 10.6.0.10
environment: environment:
TRAEFIK_EMAIL: ${EMAIL} TRAEFIK_EMAIL: ${EMAIL}
TRAEFIK_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN} TRAEFIK_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN}