更新 'docker-compose.yml'

This commit is contained in:
zhongjin 2023-01-18 23:43:43 +08:00
parent e227262c43
commit a8cfbc64b2

View File

@ -4,6 +4,10 @@ services:
asterisk: asterisk:
image: onenetcom/asterisk image: onenetcom/asterisk
restart: unless-stopped 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: environment:
ASTERISK_USER: asterisk ASTERISK_USER: asterisk
volumes: volumes: