-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
57 lines (41 loc) · 1.21 KB
/
example.env
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
# Application envirionment.
#
# prod for production, otherwise - development
APP_ENV=prod
# Logger config
LOG_LEVEL=info
# Log format (text, json)
LOG_FORMAT=json
# HTTP listen address for webhook listener
HTTP_LISTEN=:8080
# Base URL for webhooks
HTTP_BASE_URL=https://example.com
# Static files directory
HTTP_STATIC_DIR=public
# JWT keypair, required.
# Please replace with an actual generated file
#
# Use "tools/gen-keys.sh" script to generate a new keypair.
JWT_SECRET_KEY_FILE=example.key
JWT_PUBLIC_KEY_FILE=example.pub
# Redis connection URL.
# See: https://pkg.go.dev/github.com/go-redis/redis?utm_source=godoc#example-ParseURL
REDIS_DSN=redis://:password@localhost:6379/1
# Telegram Bot Token obtained from @BotFather
TELEGRAM_BOT_TOKEN=
# GitHub base URL
#GITHUB_BASE_URL=https://github.com
# GitHub OAuth App ID
GITHUB_CLIENT_ID=
# GitHub OAuth App secret
GITHUB_CLIENT_SECRET=
# Telegram bot listen request timeout
#BOT_LISTEN_TIMEOUT=60
# Buffer size for bot updates
#BOT_MSG_BUFFER_SIZE=100
# Number of parallel workers to consume events from Telegram
#BOT_WORKER_POOL_SIZE=4
# Update Telegram bot webhook address at start
#BOT_UPDATE_WEBHOOK_ON_BOOT=false
# Webhook secret for Telegram
BOT_WEBHOOK_SECRET=