Changes
Build and Push Docker Images / build (push) Failing after 1s

This commit is contained in:
2026-05-07 14:40:49 +03:00
parent dc6b1afc1b
commit 5f647b4561
4 changed files with 46 additions and 102 deletions
+24 -12
View File
@@ -13,12 +13,18 @@ services:
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
- ASPNETCORE_URLS=http://+:8080
- ConnectionStrings__RagDb=Server=mssql,1433;Database=MyAi;User Id=sa;Password=bpdTUyb3;TrustServerCertificate=True
- # Database settings (read by the apps as Database:Host/Port/Name/User/Password)
- Database__Host=${Database__Host:-mssql}
- Database__Port=${Database__Port:-1433}
- Database__Name=${Database__Name:-MyAiCvMatcher}
- Database__User=${Database__User:-sa}
- Database__Password=${Database__Password:-Your_strong_password123}
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
- InternalApi__RequireApiKey=true
- InternalApi__ApiKey=${INTERNAL_API_KEY:-change-this-internal-key}
- Ai__Provider=${AI_PROVIDER:-OpenAI}
- Ai__OpenAI__ApiKey=${OPENAI_API_KEY:-}
- Ai__Ollama__BaseUrl=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
- Ai__Provider=${Ai__Provider:-OpenAI}
- Ai__OpenAI__ApiKey=${Ai__OpenAI__ApiKey:-}
- Ai__Ollama__BaseUrl=${Ai__Ollama__BaseUrl:-http://host.docker.internal:11434}
networks:
- myai-network
restart: unless-stopped
@@ -37,14 +43,20 @@ services:
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT:-Development}
- ASPNETCORE_URLS=http://+:8080
- ConnectionStrings__CvMatcherDb=Server=mssql,1433;Database=MyAiCvMatcher;User Id=sa;Password=${MSSQL_SA_PASSWORD:-Your_strong_password123};TrustServerCertificate=True
- # Database settings (cv-matcher uses same keys)
- Database__Host=${Database__Host:-mssql}
- Database__Port=${Database__Port:-1433}
- Database__Name=${Database__Name:-MyAiCvMatcher}
- Database__User=${Database__User:-sa}
- Database__Password=${Database__Password:-Your_strong_password123}
- Database__TrustServerCertificate=${Database__TrustServerCertificate:-true}
- InternalApi__RequireApiKey=true
- InternalApi__ApiKey=${INTERNAL_API_KEY:-change-this-internal-key}
- InternalApi__ApiKey=${InternalApi__ApiKey:-change-this-internal-key}
- RagApi__BaseUrl=http://rag-api:8080
- RagApi__InternalApiKey=${INTERNAL_API_KEY:-change-this-internal-key}
- Ai__Provider=${AI_PROVIDER:-OpenAI}
- Ai__OpenAI__ApiKey=${OPENAI_API_KEY:-}
- Ai__Ollama__BaseUrl=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
- RagApi__InternalApiKey=${InternalApi__ApiKey:-change-this-internal-key}
- Ai__Provider=${Ai__Provider:-OpenAI}
- Ai__OpenAI__ApiKey=${Ai__OpenAI__ApiKey:-}
- Ai__Ollama__BaseUrl=${Ai__Ollama__BaseUrl:-http://host.docker.internal:11434}
networks:
- myai-network
restart: unless-stopped
@@ -67,7 +79,7 @@ services:
- Cors__AllowedOrigins__0=http://localhost:5000
- Cors__AllowedOrigins__1=http://web:8080
- CvMatcherApi__BaseUrl=http://cv-matcher-api:8080
- CvMatcherApi__InternalApiKey=${INTERNAL_API_KEY:-change-this-internal-key}
- CvMatcherApi__InternalApiKey=${CvMatcherApi__InternalApiKey:-change-this-internal-key}
volumes:
- ../api/logs:/app/logs
networks: