diff --git a/config.yaml.example b/config.yaml.example index 9f77b29..857649f 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -1,7 +1,7 @@ --- api_gateway_url: "0.0.0.0:8080" is_https: false -authorization_api_url: "http://localhost:3001/auth/api/v1/token/validate" +authorization_api_url: "http://authorization-svc:3001/api/v1/token/validate" services: - path: "/api/v1/login" target_service: "http://authorization-svc" @@ -16,11 +16,29 @@ services: target_service: "http://authorization-svc" target_port: "3001" - path: "/api/v1/payments" - target_service: "http://payments-svc" + target_service: "http://payment-svc" target_port: "3003" + - path: "/api/v1/plans" + target_service: "http://payment-svc" + target_port: "3003" + - path: "/api/v1/clinics" + target_service: "http://payment-svc" + target_port: "3003" + - path: "/api/v1/patients" + target_service: "http://patient-svc" + target_port: "3005" - path: "/api/v1/patients" target_service: "http://patients-svc" target_port: "3006" + - path: "/api/v1/staff" + target_service: "http://staff-svc" + target_port: "3007" + - path: "/api/v1/workshifts" + target_service: "http://workshift" + target_port: "3011" + - path: "/api/v1/appointments" + target_service: "http://appointment" + target_port: "3012" endpoints_without_auth: - endpoint: "/api/v1/users/verify-2fa" method: "POST" diff --git a/config.yaml.prod b/config.yaml.prod index b8c6991..857649f 100644 --- a/config.yaml.prod +++ b/config.yaml.prod @@ -16,14 +16,23 @@ services: target_service: "http://authorization-svc" target_port: "3001" - path: "/api/v1/payments" - target_service: "http://payments-svc" + target_service: "http://payment-svc" + target_port: "3003" + - path: "/api/v1/plans" + target_service: "http://payment-svc" + target_port: "3003" + - path: "/api/v1/clinics" + target_service: "http://payment-svc" target_port: "3003" - - path: "/api/v1/staff" - target_service: "http://staff-svc" - target_port: "3007" + - path: "/api/v1/patients" + target_service: "http://patient-svc" + target_port: "3005" - path: "/api/v1/patients" target_service: "http://patients-svc" target_port: "3006" + - path: "/api/v1/staff" + target_service: "http://staff-svc" + target_port: "3007" - path: "/api/v1/workshifts" target_service: "http://workshift" target_port: "3011"