Skip to content

Commit

Permalink
chore: updated .env (#187)
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww authored Jan 5, 2024
1 parent ef59d93 commit a1e7082
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
8 changes: 0 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,3 @@
# Log level, default is `info`, available options are `debug`, `info`, `warn`, `error`
# 日志级别,默认值为 `info`,可用选项为 `debug`、`info`、`warn`、`error`
# LOG_LEVEL=info

# # Specify whether the management feature is enabled with this bot instance, default is `false`
# # 指定是否启用此机器人实例的管理功能,默认值为 `false`
# MANAGEMENT=false

# # Specify a Telegram user id to enable assign the user as a management admin of bot instance, default is `0`
# # 指定一个 Telegram 用户 ID 以将该用户指定为机器人实例的管理管理员,默认值为 `0`
# MANAGEMENT_ADMIN_USER_TELEGRAM_CHAT_ID=0
16 changes: 10 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ services:
environment:
- TIMEZONE_SHIFT_SECONDS
- TELEGRAM_BOT_TOKEN
# # uncomment the following lines if you configured telegram webhook in .env file
# - TELEGRAM_BOT_WEBHOOK_URL
# - TELEGRAM_BOT_WEBHOOK_PORT
- OPENAI_API_SECRET
- OPENAI_API_HOST
- OPENAI_API_MODEL_NAME
- OPENAI_API_TOKEN_LIMIT
- OPENAI_API_CHAT_HISTORIES_RECAP_TOKEN_LIMIT
- DB_CONNECTION_STR
- REDIS_HOST=redis_local
- REDIS_PORT=6379
- REDIS_TLS_ENABLED=false
- REDIS_PASSWORD=123456
- REDIS_CLIENT_CACHE_ENABLED
- LOG_LEVEL
# # uncomment the following lines if you configured telegram webhook in .env file
# - TELEGRAM_BOT_WEBHOOK_URL
# - TELEGRAM_BOT_WEBHOOK_PORT
# # uncomment the following lines if you configured slack and it's webhook options in .env file
# - SLACK_CLIENT_ID
# - SLACK_CLIENT_SECRET
Expand Down Expand Up @@ -69,19 +71,21 @@ services:
environment:
- TIMEZONE_SHIFT_SECONDS
- TELEGRAM_BOT_TOKEN
# # uncomment the following lines if you configured telegram webhook in .env file
# - TELEGRAM_BOT_WEBHOOK_URL
# - TELEGRAM_BOT_WEBHOOK_PORT
- OPENAI_API_SECRET
- OPENAI_API_HOST
- OPENAI_API_MODEL_NAME
- OPENAI_API_TOKEN_LIMIT
- OPENAI_API_CHAT_HISTORIES_RECAP_TOKEN_LIMIT
- DB_CONNECTION_STR
- REDIS_HOST=redis_local
- REDIS_PORT=6379
- REDIS_TLS_ENABLED=false
- REDIS_PASSWORD=123456
- REDIS_CLIENT_CACHE_ENABLED
- LOG_LEVEL
# # uncomment the following lines if you configured telegram webhook in .env file
# - TELEGRAM_BOT_WEBHOOK_URL
# - TELEGRAM_BOT_WEBHOOK_PORT
# # uncomment the following lines if you configured slack and it's webhook options in .env file
# - SLACK_CLIENT_ID
# - SLACK_CLIENT_SECRET
Expand Down

0 comments on commit a1e7082

Please sign in to comment.