barker/.env

30 lines
606 B
Bash
Raw Permalink Normal View History

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