feat(identity): внутренние API для профиля студента

This commit is contained in:
2026-10-27 17:44:48 +03:00
parent dd1129fe80
commit c11a308ff8
8 changed files with 528 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ x-db-env: &db-env
x-jwt-env: &jwt-env
LMS_JWT_JWK_SET_URI: http://identity:8081/api/v1/auth/jwks.json
x-internal-env: &internal-env
LMS_INTERNAL_TOKEN: ${LMS_INTERNAL_TOKEN:?Задайте LMS_INTERNAL_TOKEN в .env.prod}
services:
postgres:
image: postgres:18
@@ -40,7 +43,7 @@ services:
image: lms-identity:latest
restart: unless-stopped
environment:
<<: *db-env
<<: [*db-env, *internal-env]
LMS_DB_URL: jdbc:postgresql://postgres:5432/${LMS_DB_NAME:-lms}?currentSchema=identity
depends_on:
postgres: { condition: service_healthy }
@@ -66,7 +69,7 @@ services:
image: lms-progress:latest
restart: unless-stopped
environment:
<<: [*db-env, *jwt-env]
<<: [*db-env, *jwt-env, *internal-env]
LMS_DB_URL: jdbc:postgresql://postgres:5432/${LMS_DB_NAME:-lms}?currentSchema=progress
LMS_SUBMISSIONS_DIR: /data/submissions
LMS_IDENTITY_URI: http://identity:8081