Skip to content

Commit 98ef056

Browse files
cdxkerfedhacks
authored andcommitted
docs: update envs needed for pagefind
1 parent 5b97da3 commit 98ef056

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.env.server

+8
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ PDF2MD_URL="http://localhost:8081"
5151
BATCH_CHUNK_LIMIT=120
5252
CHAT_COMPLETION_TIMEOUT_SECS=10
5353
YOUTUBE_API_KEY=""
54+
55+
SEARCH_COMPONENT_URL="http://localhost:8000"
56+
PAGEFIND_CDN_BASE_URL="https://pagefind-testing-index.trieve.ai"
57+
S3_ENDPOINT_PAGEFIND=https://pagefind-index-west.s3.us-west-1.amazonaws.com
58+
S3_ACCESS_KEY_PAGEFIND=**************
59+
S3_SECRET_KEY_PAGEFIND=****************************************
60+
S3_BUCKET_PAGEFIND=pagefind-index-west
61+
AWS_REGION_PAGEFIND=us-west-1

helm/templates/backend-configmap.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@ data:
5252
{{- if .Values.config.s3.region }}
5353
AWS_REGION: {{ .Values.config.s3.region }}
5454
{{- end }}
55+
{{- if .Values.config.pagefind_s3.endpoint }}
56+
S3_ENDPOINT_PAGEFIND: {{ .Values.config.pagefind_s3.endpoint }}
57+
{{- end }}
58+
{{- if .Values.config.pagefind_s3.accessKey }}
59+
S3_ACCESS_KEY_PAGEFIND: {{ .Values.config.pagefind_s3.accessKey }}
60+
{{- end }}
61+
{{- if .Values.config.pagefind_s3.secretKey }}
62+
S3_SECRET_KEY_PAGEFIND: {{ .Values.config.pagefind_s3.secretKey }}
63+
{{- end }}
64+
{{- if .Values.config.pagefind_s3.bucket }}
65+
S3_BUCKET_PAGEFIND: {{ .Values.config.pagefind_s3.bucket }}
66+
{{- end }}
67+
{{- if .Values.config.pagefind_s3.region }}
68+
AWS_REGION_PAGEFIND: {{ .Values.config.pagefind_s3.region }}
69+
{{- end }}
5570
COOKIE_SECURE: {{ .Values.config.trieve.cookieSecure | quote }}
5671
TIKA_URL: tika.default.svc.cluster.local
5772
OPENAI_BASE_URL: {{ .Values.config.openai.baseUrl }}
@@ -90,3 +105,4 @@ data:
90105
{{- if .Values.config.trieve.youtubeApiKey }}
91106
YOUTUBE_API_KEY: {{ .Values.config.trieve.youtubeApiKey | quote }}
92107
{{- end }}
108+
PAGEFIND_CDN_BASE_URL: {{ .Values.config.trieve.pagefindCdnUrl }}

helm/values.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ config:
124124
dittofeedApiKey: ""
125125
useSubtrace: false
126126
youtubeApiKey: ""
127+
pagefindCdnUrl: ""
127128
oidc:
128129
clientSecret: "YllmLDTy67MbsUBrUAWvQ7z9aMq0QcKx"
129130
clientId: "trieve"
@@ -145,6 +146,12 @@ config:
145146
secretKey: ""
146147
bucket: ""
147148
region: ""
149+
pagefind_s3:
150+
endpoint: ""
151+
accessKey: ""
152+
secretKey: ""
153+
bucket: ""
154+
region: ""
148155
stripe:
149156
secret: ""
150157
webhookSecret: ""

0 commit comments

Comments
 (0)