This commit is contained in:
45
service.yaml
Normal file
45
service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user