-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 1.14 KB
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 1.14 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
39
40
41
services:
telebot-service:
image: ${DOCKER_IMAGE_TAG}
container_name: ${DOCKER_CONTAINER_NAME}
restart: unless-stopped
ports:
- "9988:8080"
depends_on:
- redis
volumes:
- telebot-audio-messages:/App/audio-messages
environment:
- REMOTE_CONFIG_URL=${REMOTE_CONFIG_URL}
- REMOTE_CONFIG_AUTH_TOKEN=${REMOTE_CONFIG_AUTH_TOKEN}
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
command:
- "Telegram:BotToken=${TELEGRAM_BT}"
- "Telegram:AdminChatId=${TELEGRAM_ADMINCHATID}"
- "Tapo:UserName=${TAPOUN}"
- "Tapo:Password=${TAPOP}"
- "Users:hmrscr:IsAdmin=true"
- "Users:hmrscr:Language=es"
- "Users:hmrscr:Enabled=true"
- "Redis:Host=redis,password=${REDIS_PASS}"
- "HOSTNAME=${HOSTNAME}"
# The Redis database service.
redis:
image: redis
container_name: ${DOCKER_REDIS_CONTAINER_NAME}
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis-data:/data
command: redis-server --save 10 1 --loglevel warning --requirepass ${REDIS_PASS}
volumes:
telebot-audio-messages:
telebot-local-config:
redis-data: