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
556 B

2 years ago
version: '3.6'
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
2 years ago
environment:
ASTERISK_USER: asterisk
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime:ro
2 years ago
- ./asterisk:/etc/asterisk
- ./logs:/var/log/asterisk
network_mode: host