Compare commits
2 Commits
1eb80a985a
...
f076855e32
Author | SHA1 | Date | |
---|---|---|---|
f076855e32 | |||
9226dd8e0a |
@@ -3,8 +3,7 @@ services:
|
||||
image: ghcr.io/crowdsecurity/crowdsec:v1.6.9
|
||||
container_name: crowdsec
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.3
|
||||
- backend
|
||||
environment:
|
||||
- BOUNCER_KEY_CADDY=${CROWDSEC_API_KEY}
|
||||
- GID=${GID}
|
||||
@@ -31,8 +30,8 @@ services:
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.2
|
||||
- frontend
|
||||
- backend
|
||||
environment:
|
||||
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
|
||||
- CROWDSEC_API_KEY=${CROWDSEC_API_KEY}
|
||||
@@ -49,10 +48,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