-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
40 lines (36 loc) · 1.86 KB
/
.env.sample
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
# Database password for Docker container
DATABASE_PASSWORD=password
# Database port for Docker container
DATABASE_PORT=5432
# Database username for Docker container
DATABASE_USER=postgres
# Connection URL for database server. If it's called from docker, it's necessary to replace "localhost" with "db".
DATABASE_URL=postgresql://postgres:password@localhost:5432/postgres
# Grafana port for Docker container (optional)
GRAFANA_PORT=3000
# Loki port for Docker container (optional)
LOKI_PORT=3100
# Connection URL for Loki (optional). If it's called from docker, it's necessary to replace "localhost" with "loki".
LOKI_URL=http://localhost:3100
# Redis host. If it's called from docker, it's necessary to replace "localhost" with "cache".
REDIS_HOST=localhost
# Redis password for Docker container and connection within the app
REDIS_PASSWORD=password
# Redis port for Docker container and connection within the app (optional)
REDIS_PORT=6379
# Telegram client API hash (optional). Extends the bot API and allows to track the deletion of messages.
# Should be received from https://my.telegram.org.
TG_CLIENT_API_HASH=0123456789abcdeffedcba9876543210
# Telegram client API ID (optional). Extends the bot API and allows to track the deletion of messages.
# Should be received from https://my.telegram.org.
TG_CLIENT_API_ID=12345678
# Telegram bot API token. Should be received from https://telegram.me/BotFather.
TG_TOKEN=123456:ABC-DEFGHIJKLMNO-zyxwvZYX987654321
# Telegram bot webhook domain if it's necessary to use webhooks (optional)
# TG_WEBHOOK_DOMAIN=example.com
# Telegram bot webhook path if it's necessary to use with webhooks (optional)
# TG_WEBHOOK_PATH=/chat-adviser-bot
# Telegram bot webhook port if it's necessary to use with webhooks (optional)
# TG_WEBHOOK_PORT=3001
# Secret token to be sent back in Telegram webhook header for security (optional)
# TG_WEBHOOK_SECRET_TOKEN=secret-token