fix(staging): route social service to dedicated host

This commit is contained in:
-Puter
2026-07-11 16:46:14 +05:30
parent c715171aa2
commit 09d3da0d7a
2 changed files with 4 additions and 7 deletions
+2 -5
View File
@@ -14,10 +14,10 @@ services:
qscore-service-staging:
matchmaking-v2-staging:
user-service-staging:
agent-social-branding:
environment:
DATABASE_URL: postgres://growqr:growqr@growqr-postgres:5432/growqr
SOCIAL_BRANDING_SERVICE_URL: http://agent-social-branding-api-1:8011
SOCIAL_BRANDING_SERVICE_URL: http://172.31.28.67:18015
SOCIAL_BRANDING_PUBLIC_URL: https://social-staging.gqr.puter.wtf
PRODUCT_SERVICE_TIMEOUT_MS: 10000
PRODUCT_INTERACTIVE_SERVICE_TIMEOUT_MS: 240000
LLM_PROVIDER: opencode
@@ -48,6 +48,3 @@ networks:
user-service-staging:
external: true
name: user-service-staging_default
agent-social-branding:
external: true
name: agent-social-branding_default
+2 -2
View File
@@ -794,9 +794,9 @@ const serviceRegistry: ServiceRecord[] = [
backend: {
baseUrl: config.socialBrandingServiceUrl,
publicUrl: config.socialBrandingPublicUrl,
healthPath: "/health",
healthPath: "/healthz",
endpoints: {
health: endpoint("GET", "/health", "Readiness probe.", "Check service availability."),
health: endpoint("GET", "/healthz", "Readiness probe.", "Check service availability."),
state: endpoint("GET", "/api/state/:clerkId", "Reads social/profile state.", "Hydrate personalization context."),
profile: endpoint("GET", "/api/v1/profile", "Reads profile data when available.", "Social profile page."),
linkedin: endpoint("POST", "/api/v1/linkedin", "Connects or imports LinkedIn data when available.", "LinkedIn onboarding."),