Changes
Build and Push Docker Images / build (push) Successful in 5s

This commit is contained in:
2026-05-11 15:56:21 +03:00
parent bcf6e2aa2d
commit 66fe78a282
3 changed files with 50 additions and 47 deletions
+10 -9
View File
@@ -1,5 +1,3 @@
version: "3.8"
services:
rag-api:
build:
@@ -26,8 +24,8 @@ services:
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
# InternalApi: matches rag-api appsettings InternalApi section
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
- InternalApi__ApiKey=${RagApi__InternalApiKey:-change-this-internal-key}
- InternalApi__RequireApiKey=${RagApi__RequireApiKey:-false}
# Rag: matches rag-api appsettings Rag section
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
@@ -61,6 +59,8 @@ services:
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
volumes:
- ../api/logs:/app/logs
networks:
- myai-network
restart: unless-stopped
@@ -94,13 +94,12 @@ services:
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
# InternalApi: matches cv-matcher-api appsettings InternalApi section
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
- InternalApi__ApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
- InternalApi__RequireApiKey=${CvMatcherApi__RequireApiKey:-false}
# RagApi: matches cv-matcher-api appsettings RagApi section
# IMPORTANT: this must use the container-internal port, not the host-mapped port.
- RagApi__BaseUrl=${RagApi__BaseUrl:-http://rag-api:8080}
- RagApi__InternalApiKey=${RagApi__InternalApiKey:-${InternalApi__ApiKey:-change-this-internal-key}}
- RagApi__InternalApiKey=${RagApi__InternalApiKey:-change-this-internal-key}
# Ai: matches cv-matcher-api appsettings Ai section
- Ai__Provider=${Ai__Provider:-OpenAI}
@@ -128,6 +127,8 @@ services:
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
volumes:
- ../api/logs:/app/logs
networks:
- myai-network
restart: unless-stopped
@@ -187,7 +188,7 @@ services:
# CvMatcherApi: matches api appsettings CvMatcherApi section
- CvMatcherApi__BaseUrl=${CvMatcherApi__BaseUrl:-http://cv-matcher-api:8080}
- CvMatcherApi__InternalApiKey=${CvMatcherApi__InternalApiKey:-${InternalApi__ApiKey:-change-this-internal-key}}
- CvMatcherApi__InternalApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
# CORS: not in the uploaded api appsettings, but used by your API startup config.
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}