Skip to content

fix: add inter-service URLs to moderation-service prod config - #94

Merged
kelleyglenn merged 2 commits into
masterfrom
fix/93-moderation-service-prod-urls
Feb 25, 2026
Merged

fix: add inter-service URLs to moderation-service prod config#94
kelleyglenn merged 2 commits into
masterfrom
fix/93-moderation-service-prod-urls

Conversation

@kelleyglenn

@kelleyglenn kelleyglenn commented Feb 25, 2026

Copy link
Copy Markdown
Owner

Summary

Config standardization (#95)

  • Add USER_SERVICE_JWKS_URL, VIDEO_SERVICE_URL, USER_SERVICE_URL env vars to local docker-compose moderation-service section
  • Add depends_on for user-service and video-service in local docker-compose
  • Replace verbose SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI with USER_SERVICE_JWKS_URL in prod compose (matches env var placeholder pattern)

Closes #93
Closes #95

Test plan

  • Deploy moderation-service: ./scripts/deploy.sh moderation-service
  • Run full integration tests: cd AcctAtlas-integration-tests && npm run test:all (119 API + 204 E2E passed)

🤖 Generated with Claude Code

kelleyglenn and others added 2 commits February 25, 2026 03:09
Add VIDEO_SERVICE_URL and USER_SERVICE_URL environment variables and
video-service dependency to moderation-service in docker-compose.prod.yml.
Without these, moderation-service defaults to localhost URLs which fail
in Docker networking.

Closes #93

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add USER_SERVICE_JWKS_URL, VIDEO_SERVICE_URL, USER_SERVICE_URL to
  local docker-compose moderation-service section
- Add depends_on user-service and video-service (moderation calls both)
- Replace verbose SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI
  with USER_SERVICE_JWKS_URL in prod compose (matches env var placeholder)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kelleyglenn
kelleyglenn merged commit 742f4f2 into master Feb 25, 2026
1 check passed
@kelleyglenn
kelleyglenn deleted the fix/93-moderation-service-prod-urls branch February 25, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant