@@ -12,66 +12,84 @@ services:
1212 target_url : " http://localhost:8081"
1313 strip_prefix : " /api/v1/auth"
1414 auth_required : false # Login/Register must be public
15+ env_var : " AUTH_SERVICE_URL"
1516
1617 - name : " users"
1718 path_prefix : " /api/v1/users/"
1819 target_url : " http://localhost:8081" # Also points to the auth service
1920 strip_prefix : " /api/v1/users"
2021 auth_required : true
22+ env_var : " AUTH_SERVICE_URL" # Shares the same backend as auth
2123
2224 # --- Vehicle Service (Port 8082) ---
2325 - name : " vehicles"
2426 path_prefix : " /api/v1/vehicles/"
2527 target_url : " http://localhost:8082"
2628 strip_prefix : " /api/v1/vehicles"
2729 auth_required : true
30+ # env_var not specified - will auto-generate: VEHICLES_SERVICE_URL
2831
2932 # --- Appointment & Scheduling Service (Port 8083) ---
3033 - name : " appointments"
3134 path_prefix : " /api/v1/appointments/"
3235 target_url : " http://localhost:8083"
3336 strip_prefix : " /api/v1/appointments"
3437 auth_required : true
38+ # env_var not specified - will auto-generate: APPOINTMENTS_SERVICE_URL
3539
3640 # --- Service & Project Management Service (Port 8084) ---
3741 - name : " services"
3842 path_prefix : " /api/v1/services/"
3943 target_url : " http://localhost:8084"
4044 strip_prefix : " /api/v1/services"
4145 auth_required : true
46+ env_var : " PROJECT_SERVICE_URL" # Points to project service
4247
4348 - name : " projects"
4449 path_prefix : " /api/v1/projects/"
4550 target_url : " http://localhost:8084" # Also points to the project service
4651 strip_prefix : " /api/v1/projects"
4752 auth_required : true
53+ env_var : " PROJECT_SERVICE_URL" # Shares the same backend
4854
4955 # --- Time Logging Service (Port 8085) ---
5056 - name : " time-logs"
5157 path_prefix : " /api/v1/time-logs/"
5258 target_url : " http://localhost:8085"
5359 strip_prefix : " /api/v1/time-logs"
5460 auth_required : true
61+ # env_var not specified - will auto-generate: TIME_LOGS_SERVICE_URL
5562
5663 # --- Payment & Billing Service (Port 8086) ---
5764 - name : " payments"
5865 path_prefix : " /api/v1/payments/"
5966 target_url : " http://localhost:8086"
6067 strip_prefix : " /api/v1/payments"
6168 auth_required : true
69+ env_var : " PAYMENT_SERVICE_URL"
6270
6371 - name : " invoices"
6472 path_prefix : " /api/v1/invoices/"
6573 target_url : " http://localhost:8086" # Also points to the payment service
6674 strip_prefix : " /api/v1/invoices"
6775 auth_required : true
76+ env_var : " PAYMENT_SERVICE_URL" # Shares the same backend
6877
6978 # --- Admin & Reporting Service (Port 8087) ---
7079 - name : " admin"
7180 path_prefix : " /api/v1/admin/"
7281 target_url : " http://localhost:8087"
7382 strip_prefix : " /api/v1/admin"
7483 auth_required : true
84+ # env_var not specified - will auto-generate: ADMIN_SERVICE_URL
85+
86+ # --- Notification Service (Port 8088) ---
87+ - name : " notifications"
88+ path_prefix : " /api/v1/notifications/"
89+ target_url : " http://localhost:8088"
90+ strip_prefix : " /api/v1/notifications"
91+ auth_required : true
92+ # env_var not specified - will auto-generate: NOTIFICATIONS_SERVICE_URL
7593
7694 # --- Bonus Features (For Later Implementation) ---
7795 - name : " websocket"
0 commit comments