mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
feat(bibot): env
This commit is contained in:
parent
7272fe223c
commit
88364b72b3
2 changed files with 30 additions and 2 deletions
|
@ -41,3 +41,9 @@ apps:
|
|||
repo: bjw-s
|
||||
chart: app-template
|
||||
targetRevision: 2.4.0
|
||||
secrets:
|
||||
- name: bibot
|
||||
keys:
|
||||
- discord-token
|
||||
- ombi-api-key
|
||||
- prompt-template
|
||||
|
|
|
@ -7,8 +7,23 @@ controllers:
|
|||
tag: latest
|
||||
pullPolicy: Always
|
||||
|
||||
#env:
|
||||
#
|
||||
env:
|
||||
BIBOT_PROMPT_FILE: /config/prompt-template
|
||||
BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000
|
||||
OPENAI_API_URL: http://localai-local-ai.ai.svc.cluster.local/v1
|
||||
OPENAI_MODEL: mixtral-8x7b-instruct
|
||||
OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3575/api/v1
|
||||
DISCORD_CHANNELS: "1216440541064200192"
|
||||
OMBI_API_TOKEN:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: bibot
|
||||
key: ombi-api-key
|
||||
DISCORD_TOKEN:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: bibot
|
||||
key: discord-token
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
|
@ -16,6 +31,13 @@ controllers:
|
|||
enabled: false
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
config:
|
||||
name: bibot
|
||||
enabled: true
|
||||
type: secret
|
||||
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
|
|
Loading…
Reference in a new issue