migrate to ci-templates
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-08 14:11:40 +03:00
parent 75015c1c85
commit 593c573985
14 changed files with 153 additions and 724 deletions

45
service.yaml Normal file
View File

@ -0,0 +1,45 @@
service:
name: team-planner
type: full-stack
backend:
context: .
port: 4001
healthcheck: /api/health
resources:
cpu: 250m
memory: 256Mi
frontend:
context: .
buildArgs:
VITE_KEYCLOAK_URL: "https://auth.vigdorov.ru"
VITE_KEYCLOAK_REALM: "team-planner"
VITE_KEYCLOAK_CLIENT_ID: "team-planner-frontend"
deploy:
namespace: team-planner
domain: team-planner.vigdorov.ru
infrastructure:
postgres: true
env:
- name: NODE_ENV
value: "production"
- name: PORT
value: "4001"
- name: DB_HOST
value: "shared-postgres-service.shared-db.svc.cluster.local"
- name: DB_PORT
value: "5432"
- name: KEYCLOAK_REALM_URL
value: "https://auth.vigdorov.ru/realms/team-planner"
- name: AI_PROXY_BASE_URL
value: "http://ai-proxy-service.ai-proxy.svc.cluster.local:3000"
- name: NATS_URL
value: "nats://nats.nats:4222"
envFrom:
- secretRef:
name: team-planner-secrets