feat(auth): короткий access, refresh и 7-дневная sliding-сессия
This commit is contained in:
@@ -45,6 +45,8 @@ services:
|
||||
environment:
|
||||
<<: [*db-env, *internal-env]
|
||||
LMS_DB_URL: jdbc:postgresql://postgres:5432/${LMS_DB_NAME:-lms}?currentSchema=identity
|
||||
LMS_ACCESS_TOKEN_TTL: ${LMS_ACCESS_TOKEN_TTL:-15m}
|
||||
LMS_REFRESH_TOKEN_TTL: ${LMS_REFRESH_TOKEN_TTL:-7d}
|
||||
depends_on:
|
||||
postgres: { condition: service_healthy }
|
||||
networks: [lms]
|
||||
@@ -105,6 +107,7 @@ services:
|
||||
environment:
|
||||
LMS_GATEWAY_URL: http://gateway:8080
|
||||
SERVER_PORT: 8090
|
||||
LMS_SESSION_TIMEOUT: ${LMS_SESSION_TIMEOUT:-7d}
|
||||
ports:
|
||||
- "127.0.0.1:${LMS_WEB_PORT:-8090}:8090"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user