diff --git a/crowdsec.yaml b/crowdsec.yaml index 50ee917..8cb0a4c 100644 --- a/crowdsec.yaml +++ b/crowdsec.yaml @@ -2,7 +2,8 @@ services: crowdsec: image: crowdsecurity/crowdsec container_name: crowdsec - restart: unless-stopped + networks: + - netgrimoire volumes: - ./crowdsec/config:/etc/crowdsec - ./crowdsec/data:/var/lib/crowdsec/data @@ -13,4 +14,8 @@ services: deploy: placement: constraints: - - node.hostname == nas \ No newline at end of file + - node.hostname == nas + +networks: + netgrimoire: + external: true \ No newline at end of file