File size: 1,590 Bytes
babeaf6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apiVersion: apps/v1
kind: Deployment
metadata:
  name: realchar-deployment
  labels:
    app: realchar
spec:
  replicas: 1
  selector:
    matchLabels:
      app: realchar
  template:
    metadata:
      labels:
        app: realchar
    spec:
      containers:
      - name: realchar-container
        image: <YOUR_IMAGE_TAG>
        ports:
        - containerPort: 8000
        env:
        - name: DATABASE_URL
          value: sqlite:///./test.db
        - name: OPENAI_API_KEY
          value: <YOUR_OPENAI_API_KEY>
        - name: SPEECH_TO_TEXT_USE
          value: LOCAL_WHISPER
        - name: GOOGLE_APPLICATION_CREDENTIALS
          value: <YOUR_GOOGLE_CREDENTIALS_FILE_NAME>
        - name: OPEN_AI_WHISPER_API_KEY
          value: <YOUR_OPENAI_API_KEY>
        - name: TEXT_TO_SPEECH_USE
          value: ELEVEN_LABS
        - name: ELEVEN_LABS_API_KEY
          value: <YOUR_ELEVEN_LABS_API_KEY>
        - name: USE_AUTH
          value: ""
        - name: AUTH_API_KEY
          value: ""
        - name: PI_VOICE
          value: <YOUR_AI_VOICE_ID>
        - name: RAIDEN_VOICE
          value: <YOUR_AI_VOICE_ID>
        - name: LOKI_VOICE
          value: <YOUR_AI_VOICE_ID>
        - name: ELON_VOICE
          value: <YOUR_AI_VOICE_ID>
        - name: JOBS_VOICE
          value: <YOUR_AI_VOICE_ID>
        - name: BRUCE_VOICE
          value: <YOUR_AI_VOICE_ID>
---
apiVersion: v1
kind: Service
metadata:
  name: realchar-service
  annotations:
spec:
  type: LoadBalancer
  selector:
    app: realchar
  ports:
    - protocol: TCP
      port: 80
      targetPort: 8000