Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docker-compose.account-driver-settlement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ services:
expose:
- "8000"

attendance-registry-api:
build:
context: ../service-attendance-registry
env_file:
- ./infra/env/local/attendance-registry.env.example
depends_on:
- attendance-registry-db
- dispatch-registry-api
expose:
- "8000"

region-registry-api:
build:
context: ../service-region-registry
Expand Down Expand Up @@ -416,6 +427,15 @@ services:
expose:
- "5432"

attendance-registry-db:
image: postgres:16-alpine
environment:
POSTGRES_DB: attendance_registry
POSTGRES_USER: attendance_registry
POSTGRES_PASSWORD: attendance_registry
expose:
- "5432"

region-registry-db:
image: postgres:16-alpine
environment:
Expand Down
15 changes: 15 additions & 0 deletions infra/env/local/attendance-registry.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
API_PORT=8000
DJANGO_SECRET_KEY=change-me
DJANGO_DEBUG=1
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,attendance-registry-api
POSTGRES_DB=attendance_registry
POSTGRES_USER=attendance_registry
POSTGRES_PASSWORD=attendance_registry
POSTGRES_HOST=attendance-registry-db
POSTGRES_PORT=5432
JWT_SECRET_KEY=change-me-local-jwt-secret-key-32chars
JWT_ISSUER=msa-server
JWT_AUDIENCE=msa-server
JWT_ALGORITHM=HS256
DISPATCH_REGISTRY_BASE_URL=http://dispatch-registry-api:8000
DRIVER_PROFILE_BASE_URL=http://driver-profile-api:8000
2 changes: 1 addition & 1 deletion scripts/build_unified_openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def parse_table_after_heading(path: Path, heading: str) -> list[dict[str, str]]:


def load_active_services() -> list[ServiceMetadata]:
inventory_rows = parse_table_after_heading(INVENTORY_PATH, "## Active Runtime Repos")
inventory_rows = parse_table_after_heading(INVENTORY_PATH, "## Active Runtime Source Slices")
matrix_rows = parse_table_after_heading(RESPONSIBILITY_MATRIX_PATH, "## Matrix")
matrix_by_repo = {row["Target repo"]: row for row in matrix_rows}

Expand Down