barker/.env

30 lines
598 B
Bash

HOST=0.0.0.0
PORT=9995
LOG_LEVEL=INFO
DEBUG=true
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@localhost:5432/petty
MODULE_NAME=barker.main
PROJECT_NAME=barker
MAX_WORKERS=4
REDIS_HOST=localhost
REDIS_PORT=6379
# openssl rand -hex 32
SECRET_KEY=611f9393e58f85521d16d9497bfd847ced70f2b99e12a9c6af40b7bd05cc7b1d
# openssl rand -hex 5
MIDDLEWARE_SECRET_KEY=c4afceca1a
ALGORITHM=HS256
JWT_TOKEN_EXPIRE_MINUTES=30
NEW_DAY_OFFSET_MINUTES =420
TIMEZONE_OFFSET_MINUTES=330
ALEMBIC_LOG_LEVEL=INFO
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN
WORKER_REDIS_HOST=
WORKER_REDIS_PORT=6379
WORKER_QUEUE_NAME=""