2020-06-14 13:13:10 +00:00
|
|
|
HOST=0.0.0.0
|
2021-03-17 04:13:19 +00:00
|
|
|
PORT=9995
|
|
|
|
LOG_LEVEL=INFO
|
2020-06-14 13:13:10 +00:00
|
|
|
DEBUG=true
|
2021-03-17 04:13:19 +00:00
|
|
|
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@localhost:5432/petty
|
2020-06-14 13:13:10 +00:00
|
|
|
MODULE_NAME=barker.main
|
|
|
|
PROJECT_NAME=barker
|
2020-10-24 06:23:12 +00:00
|
|
|
|
2022-04-16 02:27:18 +00:00
|
|
|
MAX_WORKERS=4
|
|
|
|
|
2021-03-17 04:13:19 +00:00
|
|
|
REDIS_HOST=localhost
|
2020-10-24 06:23:12 +00:00
|
|
|
REDIS_PORT=6379
|
2020-06-14 13:13:10 +00:00
|
|
|
|
2020-06-17 04:27:41 +00:00
|
|
|
# openssl rand -hex 32
|
2021-03-17 04:13:19 +00:00
|
|
|
SECRET_KEY=611f9393e58f85521d16d9497bfd847ced70f2b99e12a9c6af40b7bd05cc7b1d
|
2020-06-17 04:27:41 +00:00
|
|
|
# openssl rand -hex 5
|
2021-03-17 04:13:19 +00:00
|
|
|
MIDDLEWARE_SECRET_KEY=c4afceca1a
|
2020-06-14 13:13:10 +00:00
|
|
|
ALGORITHM=HS256
|
|
|
|
JWT_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
|
2020-06-17 04:27:41 +00:00
|
|
|
NEW_DAY_OFFSET_MINUTES =420
|
2020-09-28 02:39:38 +00:00
|
|
|
TIMEZONE_OFFSET_MINUTES=330
|
2020-06-17 04:27:41 +00:00
|
|
|
|
2020-06-14 13:13:10 +00:00
|
|
|
ALEMBIC_LOG_LEVEL=INFO
|
|
|
|
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN
|
2021-03-17 04:13:19 +00:00
|
|
|
|
|
|
|
WORKER_REDIS_HOST=
|
|
|
|
WORKER_REDIS_PORT=6379
|
|
|
|
WORKER_QUEUE_NAME=""
|