Update Caddy
This commit is contained in:
@@ -3,8 +3,8 @@ services:
|
||||
image: ghcr.io/crowdsecurity/crowdsec:v1.6.9
|
||||
container_name: crowdsec
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.3
|
||||
backend:
|
||||
ipv4_address: 172.30.20.3
|
||||
environment:
|
||||
- BOUNCER_KEY_CADDY=${CROWDSEC_API_KEY}
|
||||
- GID=${GID}
|
||||
@@ -31,8 +31,10 @@ services:
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.2
|
||||
frontend:
|
||||
ipv4_address: 172.30.10.2
|
||||
backend:
|
||||
ipv4_address: 172.30.20.2
|
||||
environment:
|
||||
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
|
||||
- CROWDSEC_API_KEY=${CROWDSEC_API_KEY}
|
||||
@@ -49,10 +51,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.30.0.0/16
|
||||
gateway: 172.30.0.1
|
||||
frontend:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user