@@ -1,14 +1,12 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
rag-api:
|
rag-api:
|
||||||
image: registry.easysoft.ro/apps/myai-rag-api:production
|
image: registry.easysoft.ro/apps/myai-rag-api:production
|
||||||
container_name: myai-rag-api
|
container_name: myai-rag-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Production}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.production}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Database: matches rag-api appsettings Database section
|
# Database: matches rag-api appsettings Database section
|
||||||
@@ -20,8 +18,8 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches rag-api appsettings InternalApi section
|
# InternalApi: matches rag-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${RagApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${RagApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# Rag: matches rag-api appsettings Rag section
|
# Rag: matches rag-api appsettings Rag section
|
||||||
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
|
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
|
||||||
@@ -55,6 +53,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
- 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__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- myai_rag_api_logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -68,9 +68,9 @@ services:
|
|||||||
- rag-api
|
- rag-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Production}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.production}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Database: matches cv-matcher-api appsettings Database section
|
# Database: matches cv-matcher-api appsettings Database section
|
||||||
@@ -82,13 +82,12 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${CvMatcherApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# RagApi: matches cv-matcher-api appsettings RagApi section
|
# 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__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: matches cv-matcher-api appsettings Ai section
|
||||||
- Ai__Provider=${Ai__Provider:-OpenAI}
|
- Ai__Provider=${Ai__Provider:-OpenAI}
|
||||||
@@ -116,6 +115,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
- 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__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- myai_cv_matcher_api_logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -129,9 +130,9 @@ services:
|
|||||||
- cv-matcher-api
|
- cv-matcher-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Production}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.production}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Google: matches api appsettings Google section
|
# Google: matches api appsettings Google section
|
||||||
@@ -167,7 +168,7 @@ services:
|
|||||||
|
|
||||||
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
||||||
- CvMatcherApi__BaseUrl=${CvMatcherApi__BaseUrl:-http://cv-matcher-api:8080}
|
- 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: not in the uploaded api appsettings, but used by your API startup config.
|
||||||
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
||||||
@@ -186,8 +187,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
volumes:
|
volumes:
|
||||||
- ../api/logs:/app/logs
|
- myai_api_logs:/app/logs
|
||||||
- ${FileStorage__Path:-../Files}:/app/Files
|
- /opt/myai/files:/app/Files
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -202,9 +203,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5140:8080"
|
- "5140:8080"
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Production}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.production}
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
rag-api:
|
rag-api:
|
||||||
image: registry.easysoft.ro/apps/myai-rag-api:staging
|
image: registry.easysoft.ro/apps/myai-rag-api:staging
|
||||||
container_name: myai-rag-api
|
container_name: myai-rag-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Staging}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Database: matches rag-api appsettings Database section
|
# Database: matches rag-api appsettings Database section
|
||||||
@@ -20,8 +18,8 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches rag-api appsettings InternalApi section
|
# InternalApi: matches rag-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${RagApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${RagApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# Rag: matches rag-api appsettings Rag section
|
# Rag: matches rag-api appsettings Rag section
|
||||||
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
|
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
|
||||||
@@ -55,6 +53,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
- 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__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- myai_rag_api_logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -68,9 +68,9 @@ services:
|
|||||||
- rag-api
|
- rag-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Staging}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Database: matches cv-matcher-api appsettings Database section
|
# Database: matches cv-matcher-api appsettings Database section
|
||||||
@@ -82,13 +82,12 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${CvMatcherApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# RagApi: matches cv-matcher-api appsettings RagApi section
|
# 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__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: matches cv-matcher-api appsettings Ai section
|
||||||
- Ai__Provider=${Ai__Provider:-OpenAI}
|
- Ai__Provider=${Ai__Provider:-OpenAI}
|
||||||
@@ -116,6 +115,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
- 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__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- myai_cv_matcher_api_logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -129,9 +130,9 @@ services:
|
|||||||
- cv-matcher-api
|
- cv-matcher-api
|
||||||
environment:
|
environment:
|
||||||
# ASP.NET
|
# ASP.NET
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Staging}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||||
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
- LogEnvironmentOnStartup=${LogEnvironmentOnStartup:-true}
|
||||||
|
|
||||||
# Google: matches api appsettings Google section
|
# Google: matches api appsettings Google section
|
||||||
@@ -167,7 +168,7 @@ services:
|
|||||||
|
|
||||||
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
||||||
- CvMatcherApi__BaseUrl=${CvMatcherApi__BaseUrl:-http://cv-matcher-api:8080}
|
- 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: not in the uploaded api appsettings, but used by your API startup config.
|
||||||
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
||||||
@@ -186,8 +187,8 @@ services:
|
|||||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
volumes:
|
volumes:
|
||||||
- ../api/logs:/app/logs
|
- myai_api_logs:/app/logs
|
||||||
- ${FileStorage__Path:-../Files}:/app/Files
|
- /opt/myai/files:/app/Files
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -202,9 +203,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5140:8080"
|
- "5140:8080"
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
|
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Staging}
|
||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.local}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
rag-api:
|
rag-api:
|
||||||
build:
|
build:
|
||||||
@@ -26,8 +24,8 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches rag-api appsettings InternalApi section
|
# InternalApi: matches rag-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${RagApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${RagApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# Rag: matches rag-api appsettings Rag section
|
# Rag: matches rag-api appsettings Rag section
|
||||||
- Rag__MaxFileSizeMb=${Rag__MaxFileSizeMb:-8}
|
- 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__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
||||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- ../api/logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -94,13 +94,12 @@ services:
|
|||||||
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
|
||||||
|
|
||||||
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
# InternalApi: matches cv-matcher-api appsettings InternalApi section
|
||||||
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
|
- InternalApi__ApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
|
||||||
- InternalApi__RequireApiKey=${InternalApi__RequireApiKey:-false}
|
- InternalApi__RequireApiKey=${CvMatcherApi__RequireApiKey:-false}
|
||||||
|
|
||||||
# RagApi: matches cv-matcher-api appsettings RagApi section
|
# 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__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: matches cv-matcher-api appsettings Ai section
|
||||||
- Ai__Provider=${Ai__Provider:-OpenAI}
|
- 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__networkCredential__password=${Serilog__WriteTo__2__Args__networkCredential__password:-}
|
||||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||||
|
volumes:
|
||||||
|
- ../api/logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -187,7 +188,7 @@ services:
|
|||||||
|
|
||||||
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
# CvMatcherApi: matches api appsettings CvMatcherApi section
|
||||||
- CvMatcherApi__BaseUrl=${CvMatcherApi__BaseUrl:-http://cv-matcher-api:8080}
|
- 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: not in the uploaded api appsettings, but used by your API startup config.
|
||||||
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
- Cors__AllowedOrigins__0=${Cors__AllowedOrigins__0:-http://localhost:5000}
|
||||||
|
|||||||
Reference in New Issue
Block a user