generated from FIS2425/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml.prod
63 lines (63 loc) · 1.86 KB
/
config.yaml.prod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
api_gateway_url: "0.0.0.0:8080"
is_https: false
authorization_api_url: "http://authorization-svc:3001/api/v1/token/validate"
services:
- path: "/api/v1/login"
target_service: "http://authorization-svc"
target_port: "3001"
- path: "/api/v1/logout"
target_service: "http://authorization-svc"
target_port: "3001"
- path: "/api/v1/token"
target_service: "http://authorization-svc"
target_port: "3001"
- path: "/api/v1/users"
target_service: "http://authorization-svc"
target_port: "3001"
- path: "/api/v1/payments"
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/alert"
target_service: "http://alert-svc"
target_port: "3004"
- path: "/api/v1/histories"
target_service: "http://history-svc"
target_port: "3005"
- path: "/api/v1/patients"
target_service: "http://patient-svc"
target_port: "3006"
- path: "/api/v1/staff"
target_service: "http://staff-svc"
target_port: "3007"
- path: "/api/v1/logs"
target_service: "http://logger"
target_port: "3009"
- 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"
- endpoint: "/api/v1/login"
method: "POST"
- endpoint: "/api/v1/token/refresh"
method: "POST"
logger_config:
use_kafka: true # If false, delete also kafka_host
kafka_host: "kafka-logger:9092"
kafka_topic: "gateway-logs"
out_file: "logs/out.log"
err_file: "logs/err.log"
debug_file: "logs/debug.log"
docs_path: "./docs"
openapi_path: "./openapi.yaml"