-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yaml.dist
More file actions
38 lines (37 loc) · 909 Bytes
/
compose.yaml.dist
File metadata and controls
38 lines (37 loc) · 909 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
32
33
34
35
36
37
38
services:
ngbot:
build:
context: .
dockerfile: Dockerfile
environment:
- NG_TOKEN
- NG_LANG
- NG_HANDLERS
- NG_LOG_LEVEL
- NG_DOT_PATH
- NG_TELEGRAM_POLL_TIMEOUT
- NG_TELEGRAM_REQUEST_TIMEOUT
- NG_TELEGRAM_RECOVERY_WINDOW
- NG_LLM_API_KEY
- NG_LLM_API_URL
- NG_LLM_API_MODEL
- NG_LLM_API_TYPE
- NG_SPAM_LOG_CHANNEL_USERNAME
- NG_SPAM_VERBOSE
- NG_SPAM_VOTING_TIMEOUT
- NG_SPAM_MIN_VOTERS
- NG_SPAM_MAX_VOTERS
- NG_SPAM_MIN_VOTERS_PERCENTAGE
- NG_SPAM_SUSPECT_NOTIFICATION_TIMEOUT
volumes:
# Set the path to your ngbot directory
- dotpath:/root/.ngbot:delegated
restart: unless-stopped
volumes:
dotpath:
driver: local
driver_opts:
type: none
# Set the path to your ngbot directory
device: /home/username/.ngbot
o: bind