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:
@@ -81,6 +81,10 @@
|
||||
"BaseUrl": "http://cv-matcher-api:8080",
|
||||
"InternalApiKey": ""
|
||||
},
|
||||
"EmailApi": {
|
||||
"BaseUrl": "http://email-api:8080",
|
||||
"InternalApiKey": ""
|
||||
},
|
||||
"FileStorage": {
|
||||
"Path": "Files"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user