-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 853 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
callattendant:
build: .
ports:
- "3000:3000"
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
volumes:
- ./messages:/app/messages
- ./data:/app/data
- ./piper-models:/app/piper-models
- ./logs:/app/logs
environment:
- SERIAL_PORT=/dev/ttyUSB0
- SERIAL_BAUD_RATE=115200
- DB_PATH=/app/data/callattendant.db
- MESSAGES_DIR=/app/messages
- SCREENING_MODE=whitelist,blacklist
- BLOCK_SERVICE=NOMOROBO
- AUTO_BLOCK_SPAM=true
- SPAM_THRESHOLD=2
- RINGS_BEFORE_VM=4
- RINGS_BEFORE_VM_SCREENED=1
- BLOCKLIST_ACTION=2
- RINGS_BEFORE_VM_BLOCKLIST=0
- PIPER_MODELS_DIR=/app/piper-models
- PIPER_LENGTH_SCALE=1.0
- ENABLE_GPIO=false
- DEBUG_CONSOLE=false
- NODE_ENV=production
restart: unless-stopped