tanshu
ad8a2d2cc3
Fix: Employee save as checking for in None instead of is None Feature: Checking the existing token for validity in constructor of auth service, this should prevent last login showing Feature: Moved the middleware secret key into the env file Chore: Replaced my own GUID() with postgres UUID() type
22 lines
365 B
Bash
22 lines
365 B
Bash
HOST=0.0.0.0
|
|
PORT=80
|
|
LOG_LEVEL=WARN
|
|
DEBUG=true
|
|
SQLALCHEMY_DATABASE_URI=
|
|
MODULE_NAME=brewman.main
|
|
PROJECT_NAME=brewman
|
|
POSTGRES_SERVER=
|
|
POSTGRES_USER=
|
|
POSTGRES_PASSWORD=
|
|
POSTGRES_DB=
|
|
|
|
# openssl rand -hex 32
|
|
SECRET_KEY=
|
|
# openssl rand -hex 5
|
|
MIDDLEWARE_SECRET_KEY=
|
|
ALGORITHM=HS256
|
|
JWT_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
ALEMBIC_LOG_LEVEL=INFO
|
|
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN
|