Files
nate.lubitz 532b912ffb
Build and Deploy / build-and-deploy (push) Failing after 20s
add tool to gitea
2026-06-05 02:34:00 +10:00

91 lines
1.8 KiB
YAML

meta:
name: main-ui
tenant: midterm-tenant
registry:
url: registry.natelubitz.com
pull_secret: regcred
dns:
provider: cloudflare
cloudflare:
api_token: ${CLOUDFLARE_API_TOKEN}
zones:
- name: natelubitz.com
zone_id: ${CF_ZONE_ID_NATELUBITZ}
- name: midtermtenant.com
zone_id: ${CF_ZONE_ID_MIDTERM}
proxied: false
node_ip: ${KFORGE_NODE_IP}
cluster:
tls_issuer: letsencrypt-prod
ingress_class: nginx
cnpg:
host: cnpg-main-rw.default.svc.cluster.local
defaults:
port: 3000
health_check:
path: /healthcheck
infrastructure:
database:
provider: cnpg
cache:
provider: valkey
mode: standalone
environments:
staging:
namespace: staging
image_tag: latest
env_vars:
- name: VITE_BASE_URL
value: https://api-staging.midtermtenant.com
type: plain
ingress:
hosts:
- hostname: mtt-ui-staging.natelubitz.com
tls: true
dns_record: true
auth:
enabled: true
users:
- nate
lifecycle:
delete: false
production:
namespace: production
image_tag: latest
env_vars:
- name: VITE_BASE_URL
value: https://api.midtermtenant.com
type: plain
ingress:
hosts:
- hostname: mtt-ui.natelubitz.com
tls: true
dns_record: true
- hostname: midtermtenant.com
tls: true
dns_record: false
auth:
enabled: false
infrastructure:
cache:
mode: cluster
replicas: 3
cron_jobs:
- name: db-cleanup
schedule: "0 2 * * *"
command: ["node", "scripts/cleanup.js"]
inherit_env: true
env_vars:
- name: CLEANUP_BATCH_SIZE
value: "500"
type: plain
lifecycle:
delete: false