Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ GITLAB_CLIENT_SECRET="" # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhc
API_OPENAI="" # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data
API_OPENWEBUI="" # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data

# If you also want to use/test grafana alerts, you need to set the following variable:
DISCORD_WEBHOOK_URL=""

# If you want to use cloud LLM models, you need to include your respective api keys (our openai key is already in rancher)

API_OPENAI="" # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data
API_ANTHROPIC="" # your anthropic key
API_MISTRAL="" # your mistral key
API_HUGGINGFACEHUB="" # your huggingface api token
API_HUGGINGFACEHUB="" # your huggingface api token
3 changes: 2 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,5 @@ jobs:
--set secrets.gitlabClientSecretDev="${{ secrets.DEV_CLIENT_SECRET }}" \
--set secrets.mongodbAdminPassword="${{ secrets.MONGODB_ADMIN_PASSWORD }}" \
--set secrets.apiOpenAi="${{ secrets.API_OPENAI }}" \
--set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}"
--set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}" \
--set secrets.discordWebhookUrl="${{ secrets.DISCORD_WEBHOOK_URL }}"
3 changes: 2 additions & 1 deletion .github/workflows/helm-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
--set secrets.gitlabClientSecretDev="${{ secrets.DEV_CLIENT_SECRET }}" \
--set secrets.mongodbAdminPassword="${{ secrets.MONGODB_ADMIN_PASSWORD }}" \
--set secrets.apiOpenAi="${{ secrets.API_OPENAI }}" \
--set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}"
--set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}" \
--set secrets.discordWebhookUrl="${{ secrets.DISCORD_WEBHOOK_URL }}"
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ services:
- GF_USERS_ALLOW_SIGN_UP=false
- GF_FEATURE_TOGGLES_ENABLE=logsInExplore
- GF_LOG_CONSOLECOLORS=true
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
depends_on:
- prometheus
- loki
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ contactPoints:
- uid: aep95aewu00e8d
type: discord
settings:
url: https://discord.com/api/webhooks/1384597112955867277/YXLiCFAP8G3sXSv0EMNcspAVSeIElReokz2r2LoK-gtB-SxEbiTlplqXsrL09d8pwj4x
url: ${DISCORD_WEBHOOK_URL}
use_discord_username: false
disableResolveMessage: false
2 changes: 1 addition & 1 deletion recipai-chart/templates/grafana/grafana-alerting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
- uid: fepdr2f5po5q8c
type: discord
settings:
url: "https://discord.com/api/webhooks/1384597112955867277/YXLiCFAP8G3sXSv0EMNcspAVSeIElReokz2r2LoK-gtB-SxEbiTlplqXsrL09d8pwj4x"
url: {{ .Values.secrets.discordWebhookUrl | quote }}
use_discord_username: false
disableResolveMessage: false

Expand Down
1 change: 1 addition & 0 deletions recipai-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ secrets:
mongodbAdminPassword: "set in CI pipeline"
apiOpenAi: "set in CI pipeline"
apiOpenWebUi: "set in CI pipeline"
discordWebhookUrl: "set in CI pipeline"

genai:
baseUrl: "https://gpu.aet.cit.tum.de"
Expand Down