You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
560 B

version: '3.6'
services:
asterisk:
image: onenetcom/asterisk:1.6
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:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime:ro
- ./asterisk:/etc/asterisk
- ./logs:/var/log/asterisk
network_mode: host