-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
132 lines (121 loc) · 2.62 KB
/
docker-compose.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: '3.7'
services:
asterisk:
platform: linux/amd64
image: mlan/asterisk:full
networks:
- freetalkbot
ports:
- 6569:4569/udp
- 6050:5060/udp
- 10000-10099:10000-10099/udp
cap_add:
- sys_ptrace # Only here to help testing
- net_admin # Allow NFT, used by AutoBan
- net_raw # Allow NFT, used by AutoBan
environment:
- SYSLOG_LEVEL=${SYSLOG_LEVEL-4} # Logging
- HOSTNAME=asterisk.docker.localhost
volumes:
- asterisk-conf:/srv # Persistent storage
- ./asterisk/container-config:/etc/asterisk
- ./pulse:/run/pulse:rshared # Use host audio
- /etc/localtime:/etc/localtime:ro # Use host timezone
whisper_cpu:
image: fedirz/faster-whisper-server:latest-cpu
restart: unless-stopped
profiles:
- cpu
env_file:
- .env
ports:
- 8000:8000
networks:
- freetalkbot
volumes:
- hugging_face_cache:/root/.cache/huggingface
whisper_gpu:
image: fedirz/faster-whisper-server:latest-cuda
restart: unless-stopped
profiles:
- gpu
env_file:
- .env
ports:
- 8000:8000
networks:
- freetalkbot
volumes:
- hugging_face_cache:/root/.cache/huggingface
gobot_voip:
build:
context: .
platform: linux/amd64
networks:
- freetalkbot
command: ["freetalkbot", "init", "-c", "audio"]
ports:
- "8080:8080"
env_file:
- .env
volumes:
- ./data:/app/data
gobot_whatsapp:
build:
context: .
platform: linux/amd64
networks:
- freetalkbot
command: ["freetalkbot", "init", "-c", "whatsapp"]
ports:
- "443:443"
- "5034:5034"
env_file:
- .env
volumes:
- ./data:/app/data
rasa:
build:
context: ./assistants/rasa
env_file:
- .env
volumes:
- ./assistants/rasa:/app
command:
- run
- --enable-api
- --cors
- "*"
ports:
- "5005:5005"
networks:
- freetalkbot
rasa-actions-server:
image: khalosa/rasa-aarch64:3.5.2
env_file:
- .env
volumes:
- ./assistants/rasa:/app
command:
- run
- actions
ports:
- "5055:5055"
networks:
- freetalkbot
anthropic:
build:
context: ./assistants/anthropic
env_file:
- .env
ports:
- "8088:8088"
networks:
- freetalkbot
volumes:
asterisk-conf:
app_data:
hugging_face_cache:
networks:
freetalkbot:
driver: bridge