-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 1.01 KB
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:
redis:
image: redis:alpine
restart: always
# Enable persistence for Redis
command: redis-server --appendonly yes
volumes:
- redis_data:/data
bot:
image: ghcr.io/montelibero/support_bot:latest
restart: always
# Mount data directory to persist support.db
# Mount logs directory to persist logs
volumes:
- ./data:/app/data
- ./logs:/app/logs
environment:
# Connection to Redis service
- REDIS_URL=redis://redis:6379/1
# Single Bot Configuration
- SINGLE_BOT_TOKEN=your_bot_token_here
- ADMIN_ID=123456789
# Optional Settings
- SINGLE_START_MESSAGE=Здравствуйте! Чем могу помочь?
- SINGLE_SECURITY_POLICY=default
- SINGLE_MASTER_CHAT=0
- SINGLE_USE_AUTO_REPLY=false
- SINGLE_AUTO_REPLY=Message automatically forwarded to support. Please wait for a response.
- SENTRY_DSN=
depends_on:
- redis
command: uv run single_bot.py
volumes:
redis_data: