Move caddy-crowdsec to new folder
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
services:
|
||||
crowdsec:
|
||||
image: crowdsecurity/crowdsec:v1.6.9
|
||||
container_name: crowdsec
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.3
|
||||
environment:
|
||||
- BOUNCER_KEY_CADDY=${CROWDSEC_API_KEY}
|
||||
- GID=${GID}
|
||||
- COLLECTIONS=${COLLECTIONS}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/crowdsec-acquis.d:/etc/crowdsec/acquis.d
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/crowdsec-db:/var/lib/crowdsec/data/
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/crowdsec-config:/etc/crowdsec/
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-logs:/var/log/caddy:ro
|
||||
restart: unless-stopped
|
||||
|
||||
caddy:
|
||||
image: ryuupendragon/caddy-crowdsec:2.10.0
|
||||
container_name: caddy
|
||||
depends_on:
|
||||
- crowdsec
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
proxy:
|
||||
ipv4_address: 172.30.0.2
|
||||
environment:
|
||||
- CROWDSEC_API_KEY=${CROWDSEC_API_KEY}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-file:/etc/caddy
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-config:/config
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-data:/data
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-logs:/logs
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-srv:/srv
|
||||
ports:
|
||||
- ${HTTP_PORT}:80
|
||||
- ${HTTPS_PORT}:443
|
||||
- ${HTTPS_PORT}:443/udp
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.30.0.0/16
|
||||
gateway: 172.30.0.1
|
Reference in New Issue
Block a user