Skip to content

Commit

Permalink
Roochbot deploy config (#3070)
Browse files Browse the repository at this point in the history
* [kube] Roochbot deployment

* update roochbot config

* update image
  • Loading branch information
jolestar authored Dec 20, 2024
1 parent e81a723 commit 79c0eb6
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
22 changes: 22 additions & 0 deletions kube/mainnet/roochbot/mainnet-roochbot-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: roochbot-config
namespace: mainnet
data:
TWITTER_DRY_RUN: "false"
TWITTER_TARGET_USERS: "RoochNetwork,jolestar"
MAX_TWEET_LENGTH: "240"
GITHUB_OWNER: "rooch-network"
GITHUB_REPO: "roochbot_knowledge"
GITHUB_BRANCH: "main"
GITHUB_PATH: "/"
ELEVENLABS_MODEL_ID: "eleven_multilingual_v2"
ELEVENLABS_VOICE_ID: "21m00Tcm4TlvDq8ikWAM"
ELEVENLABS_VOICE_STABILITY: "0.5"
ELEVENLABS_VOICE_SIMILARITY_BOOST: "0.9"
ELEVENLABS_VOICE_STYLE: "0.66"
ELEVENLABS_VOICE_USE_SPEAKER_BOOST: "false"
ELEVENLABS_OPTIMIZE_STREAMING_LATENCY: "4"
ELEVENLABS_OUTPUT_FORMAT: "pcm_16000"
SERVER_PORT: "3000"
46 changes: 46 additions & 0 deletions kube/mainnet/roochbot/mainnet-roochbot-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: roochbot
namespace: mainnet
spec:
replicas: 1
selector:
matchLabels:
app: roochbot
template:
metadata:
labels:
app: roochbot
spec:
containers:
- name: roochbot
image: jolestar/eliza-tee:0.1.6-alpha.4-20241219.2
command: ["pnpm"]
args:
- "start"
- "--non-interactive"
- "--characters"
- "/app/characters/roochbot.character.json"
envFrom:
- configMapRef:
name: roochbot-config
- secretRef:
name: roochbot-secrets
ports:
- containerPort: 3000
volumeMounts:
- name: roochbot-data
mountPath: /app/agent/data
- name: character-config
mountPath: /app/characters
volumes:
- name: roochbot-data
persistentVolumeClaim:
claimName: roochbot-data
- name: character-config
configMap:
name: roochbot-character-config
items:
- key: roochbot.character.json
path: roochbot.character.json
11 changes: 11 additions & 0 deletions kube/mainnet/roochbot/mainnet-roochbot-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: roochbot-data
namespace: mainnet
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

0 comments on commit 79c0eb6

Please sign in to comment.