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