mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
Compare commits
2 commits
680ea17337
...
d16e0caf3e
Author | SHA1 | Date | |
---|---|---|---|
|
d16e0caf3e | ||
6ae42bbf98 |
3 changed files with 3 additions and 85 deletions
|
@ -1,84 +0,0 @@
|
||||||
controllers:
|
|
||||||
# main agent
|
|
||||||
main:
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: reg.dc/bi
|
|
||||||
tag: latest
|
|
||||||
pullPolicy: Always
|
|
||||||
env:
|
|
||||||
BIBOT_CONFIG: /config/bibot.yml
|
|
||||||
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
|
||||||
PHOENIX_PROJECT_NAME: bi
|
|
||||||
command: ["python3"]
|
|
||||||
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
|
|
||||||
|
|
||||||
controller:
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: reg.dc/bi
|
|
||||||
tag: latest
|
|
||||||
pullPolicy: Always
|
|
||||||
env:
|
|
||||||
BIBOT_CONFIG: /config/bibot.yml
|
|
||||||
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
|
||||||
command: ["python3"]
|
|
||||||
args: ["/app/bi/controller.py", "worker", "-l", "info"]
|
|
||||||
|
|
||||||
discord:
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: reg.dc/bi
|
|
||||||
tag: latest
|
|
||||||
pullPolicy: Always
|
|
||||||
|
|
||||||
command: ["python3"]
|
|
||||||
args: ["/app/bi/connectors/discord/app.py", "worker", "-l", "info"]
|
|
||||||
|
|
||||||
env:
|
|
||||||
BIBOT_KAFKA__BROKER: bi-cluster-kafka-bootstrap:9092
|
|
||||||
OPENAI_API_KEY: fake
|
|
||||||
BIBOT_DISCORD__TOKEN:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bibot
|
|
||||||
key: discord-token
|
|
||||||
## Prod:
|
|
||||||
BIBOT_DISCORD__CHANNELS: "1216440541064200192"
|
|
||||||
# Dev:
|
|
||||||
# BIBOT_DISCORD_CHANNELS: "1217418069693960223"
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
enabled: false
|
|
||||||
readiness:
|
|
||||||
enabled: false
|
|
||||||
startup:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
persistence:
|
|
||||||
secret:
|
|
||||||
name: bibot
|
|
||||||
enabled: true
|
|
||||||
type: secret
|
|
||||||
|
|
||||||
config:
|
|
||||||
name: bibot-config
|
|
||||||
enabled: true
|
|
||||||
type: configMap
|
|
||||||
|
|
||||||
data:
|
|
||||||
size: 10Gi
|
|
||||||
type: persistentVolumeClaim
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
|
|
||||||
# service:
|
|
||||||
# main:
|
|
||||||
# controller: main
|
|
||||||
# ports:
|
|
||||||
# http:
|
|
||||||
# port: 8000
|
|
||||||
# type: ClusterIP
|
|
|
@ -23,6 +23,7 @@ controllers:
|
||||||
key: password
|
key: password
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
||||||
PHOENIX_PROJECT_NAME: bi
|
PHOENIX_PROJECT_NAME: bi
|
||||||
|
OPENAI_API_KEY: fake
|
||||||
command: ["python3"]
|
command: ["python3"]
|
||||||
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
|
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
|
||||||
|
|
||||||
|
@ -122,6 +123,7 @@ controllers:
|
||||||
key: OPENWEATHERMAP_API_KEY
|
key: OPENWEATHERMAP_API_KEY
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
||||||
PHOENIX_PROJECT_NAME: bi
|
PHOENIX_PROJECT_NAME: bi
|
||||||
|
OPENAI_API_KEY: fake
|
||||||
command: ["python3"]
|
command: ["python3"]
|
||||||
args: ["/app/bi/agents/researcher/app.py", "worker", "-l", "info"]
|
args: ["/app/bi/agents/researcher/app.py", "worker", "-l", "info"]
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ apps:
|
||||||
- name: argo-workflows
|
- name: argo-workflows
|
||||||
repoURL: https://argoproj.github.io/argo-helm
|
repoURL: https://argoproj.github.io/argo-helm
|
||||||
chart: argo-workflows
|
chart: argo-workflows
|
||||||
targetRevision: 0.45.1
|
targetRevision: 0.45.2
|
||||||
# secrets:
|
# secrets:
|
||||||
# - name: argocd-secret
|
# - name: argocd-secret
|
||||||
# keys:
|
# keys:
|
||||||
|
|
Loading…
Reference in a new issue