Skip to content

Commit

Permalink
Обновлён env_example
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterGroosha committed Jul 30, 2022
1 parent 176b253 commit 0c630da
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions env_example
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ BOT_TOKEN=123456789:abcdefghijklmnopqrstuvwxyz
FSM_MODE=redis

# Настройки подключения к Redis
REDIS__HOST=redis
REDIS__PORT=6379
REDIS__DB=0
# ОЧЕНЬ важно указать длинный и трудно подбираемый пароль
# Сгенерировать можно, например, так (Linux): tr -dc A-Za-z0-9 </dev/urandom | head -c 64 ; echo ''
REDIS__PASSWORD=IGivgFCKBmBmETW6cyoGQi7q0JQidBPgbrGSuoOQMGS86XEG8GnnS2811pn0DLoy
# Не все атрибуты обязательные,
# в некоторых случаях достаточно redis://host
REDIS=redis://user:pass@host:port

0 comments on commit 0c630da

Please sign in to comment.