Update network for caddy
This commit is contained in:
@@ -13,8 +13,7 @@ services:
|
||||
- ${APPDATA_PATH}/caddy/crowdsec-config:/etc/crowdsec/
|
||||
- ${APPDATA_PATH}/caddy/caddy-logs:/var/log/caddy:ro
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.3
|
||||
- frontend
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --spider --quiet --tries=1 --timeout=5 http://localhost:8080/health > /dev/null 2>&1 || exit 1"]
|
||||
interval: 30s
|
||||
@@ -44,14 +43,8 @@ services:
|
||||
- ${HTTPS_PORT}:443
|
||||
- ${HTTPS_PORT}:443/udp
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.2
|
||||
- frontend
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.30.0.0/16
|
||||
gateway: 172.30.0.1
|
||||
frontend:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user