core/k8s/overlays/prod/api.yml
Dawid Wysokiński 9d5987f74c
All checks were successful
ci/woodpecker/push/govulncheck Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/tag/deployment Pipeline was successful
ci/woodpecker/cron/govulncheck Pipeline was successful
feat: new endpoint GET /api/v2/versions/{versionCode}/servers/{serverKey}/snapshots (#52)
Reviewed-on: #52
2024-05-13 05:12:05 +00:00

34 lines
977 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: twhelp-api-v2-deployment
spec:
template:
spec:
containers:
- name: twhelp-api-v2
image: twhelp
env:
- name: APP_MODE
value: production
- name: LOG_LEVEL
value: info
- name: DB_CONNECTION_STRING
valueFrom:
secretKeyRef:
name: twhelp-secret
key: db-connection-string
- name: DB_MAX_OPEN_CONNS
value: "10"
- name: DB_MAX_IDLE_CONNS
value: "3"
- name: RABBITMQ_CONNECTION_STRING
valueFrom:
secretKeyRef:
name: twhelp-secret
key: rabbitmq-connection-string
- name: AUTO_MAX_PROCS
value: "true"
- name: API_OPENAPI_SERVERS
value: https://twhelp.app,https://tribalwarshelp.com