Move CROWDSEC_COLLECTIONS env variable to env file
This commit is contained in:
2
docker/compose/crowdsec.env
Normal file
2
docker/compose/crowdsec.env
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#CROWDSEC_COLLECTIONS="crowdsecurity/linux crowdsecurity/traefik"
|
||||||
|
CROWDSEC_COLLECTIONS="crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/whitelist-good-actors crowdsecurity/iptables crowdsecurity/linux fulljackz/proxmox"
|
||||||
@@ -7,11 +7,10 @@ services:
|
|||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
#proxy:
|
|
||||||
# ipv4_address: ${CROWDSEC_IP} # You can specify a static IP
|
|
||||||
environment:
|
environment:
|
||||||
GID: "${GID-1000}"
|
GID: "${GID-1000}"
|
||||||
COLLECTIONS: ${CROWDSEC_COLLECTIONS}
|
env_file:
|
||||||
|
- path: ./crowdsec.env
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ${DOCKERDIR}/crowdsec/acquis.d:/etc/crowdsec/acquis.d
|
- ${DOCKERDIR}/crowdsec/acquis.d:/etc/crowdsec/acquis.d
|
||||||
|
|||||||
Reference in New Issue
Block a user