summaryrefslogtreecommitdiff
path: root/config/config.local.yaml
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-02 22:08:49 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-02 22:08:49 +0700
commit3efa6ed24713658af855c0ca9504f3e089342182 (patch)
treee283f9f8e6bfc833b57f0b108c65e0dbc0bf8b28 /config/config.local.yaml
parent06b584d66991cc8f0aefce685b65291ad9a59901 (diff)
downloadweb-3efa6ed24713658af855c0ca9504f3e089342182.tar.gz
web-3efa6ed24713658af855c0ca9504f3e089342182.zip
feat: move from b2 to s3 for blog pages & facts
feat: use centralized index.json for blog pages, keep paginator as fallback feat: multithreaded paginator
Diffstat (limited to 'config/config.local.yaml')
-rw-r--r--config/config.local.yaml24
1 files changed, 14 insertions, 10 deletions
diff --git a/config/config.local.yaml b/config/config.local.yaml
index 1822fdc..d3e2e33 100644
--- a/config/config.local.yaml
+++ b/config/config.local.yaml
@@ -5,22 +5,26 @@ endpoint:
listenOn: ":3000"
blogPages:
storage:
- type: b2
+ type: s3
config:
- bucketName: sayana-pages
- region: eu-central-003
+ bucketName: sayauz-pages
+ region: kz1
prefix: "stage-"
- keyID: "${B2_KEY_ID}"
- applicationKey: "${B2_APPLICATION_KEY}"
+ endpoint: "https://storage.yandexcloud.kz"
+ usePathStyle: true
+ accessKeyID: "${S3_ACCESS_KEY_ID}"
+ secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
factGiver:
storage:
- type: b2
+ type: s3
config:
- bucketName: sayana-pages
- region: eu-central-003
+ bucketName: sayauz-pages
+ region: kz1
prefix: ""
- keyID: "${B2_KEY_ID}"
- applicationKey: "${B2_APPLICATION_KEY}"
+ endpoint: "https://storage.yandexcloud.kz"
+ usePathStyle: true
+ accessKeyID: "${S3_ACCESS_KEY_ID}"
+ secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
factsFileName: "facts-*.txt"
localePath: ./locale/
availableLanguages: