From a8cfbc64b2d024e118371807c114b8ec3eeeb374 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Wed, 18 Jan 2023 23:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'docker-compose.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d1edfee..c0d9215 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,10 @@ services: asterisk: image: onenetcom/asterisk restart: unless-stopped + cap_add: + - sys_ptrace # Only here to help testing + - net_admin # Allow NFT, used by AutoBan + - net_raw # Allow NFT, used by AutoBan environment: ASTERISK_USER: asterisk volumes: