mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
update env vars for redis and jwt
This commit is contained in:
12
.env
12
.env
@@ -8,5 +8,13 @@ SQL_USER=user
|
||||
SQL_PASS=secret
|
||||
SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}
|
||||
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=2
|
||||
REDIS_URL="redis://${REDIS_HOST}:${REDIS_PORT}/${REDIS_DB}"
|
||||
|
||||
JWT_EXPIRE=3600
|
||||
JWT_ALGORITHM=HS256
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user