Add EmailApi configuration to api and cv-search-job services
Build and Push Docker Images Staging / build (push) Successful in 13m52s
Build and Push Docker Images Staging / build (push) Successful in 13m52s
Both api and cv-search-job need to connect to email-api for sending emails. Add EmailApi section to their appsettings.json with BaseUrl and InternalApiKey placeholders. Environment variables from docker-compose will populate these at runtime. Also add EmailApi credentials to docker-compose/.env: - EmailApi__BaseUrl=http://email-api:8080 - EmailApi__InternalApiKey=<shared key> - EmailApi__RequireApiKey=true This ensures both services can authenticate and call the email-api service. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -110,6 +110,10 @@
|
|||||||
"BaseUrl": "",
|
"BaseUrl": "",
|
||||||
"InternalApiKey": ""
|
"InternalApiKey": ""
|
||||||
},
|
},
|
||||||
|
"EmailApi": {
|
||||||
|
"BaseUrl": "",
|
||||||
|
"InternalApiKey": ""
|
||||||
|
},
|
||||||
"RateLimiting": {
|
"RateLimiting": {
|
||||||
"Global": {
|
"Global": {
|
||||||
"PermitLimit": 120,
|
"PermitLimit": 120,
|
||||||
|
|||||||
@@ -81,6 +81,10 @@
|
|||||||
"BaseUrl": "http://cv-matcher-api:8080",
|
"BaseUrl": "http://cv-matcher-api:8080",
|
||||||
"InternalApiKey": ""
|
"InternalApiKey": ""
|
||||||
},
|
},
|
||||||
|
"EmailApi": {
|
||||||
|
"BaseUrl": "http://email-api:8080",
|
||||||
|
"InternalApiKey": ""
|
||||||
|
},
|
||||||
"FileStorage": {
|
"FileStorage": {
|
||||||
"Path": "Files"
|
"Path": "Files"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user