summaryrefslogtreecommitdiff
path: root/config/config.local.yaml
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.local.yaml')
-rw-r--r--config/config.local.yaml36
1 files changed, 12 insertions, 24 deletions
diff --git a/config/config.local.yaml b/config/config.local.yaml
index 7fe612b..7769438 100644
--- a/config/config.local.yaml
+++ b/config/config.local.yaml
@@ -1,30 +1,22 @@
logLevel: debug
-endpoint:
- type: http
- config:
- listenOn: ":3000"
blogPages:
storage:
- type: s3
+ type: b2
config:
- bucketName: sayauz-pages
- region: kz1
+ bucketName: sayana-pages
+ region: eu-central-003
prefix: "stage-"
- endpoint: "https://storage.yandexcloud.kz"
- usePathStyle: true
- accessKeyID: "${S3_ACCESS_KEY_ID}"
- secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
+ keyID: "${B2_KEY_ID}"
+ applicationKey: "${B2_APPLICATION_KEY}"
factGiver:
storage:
- type: s3
+ type: b2
config:
- bucketName: sayauz-pages
- region: kz1
+ bucketName: sayana-pages
+ region: eu-central-003
prefix: ""
- endpoint: "https://storage.yandexcloud.kz"
- usePathStyle: true
- accessKeyID: "${S3_ACCESS_KEY_ID}"
- secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
+ keyID: "${B2_KEY_ID}"
+ applicationKey: "${B2_APPLICATION_KEY}"
factsFileName: "facts-*.txt"
localePath: ./locale/
availableLanguages:
@@ -70,13 +62,9 @@ photoStorage:
thumbnail320p:
baseUrl: https://storage.yandexcloud.kz/sayauz-thumbnails-webp320/%s.webp
homePageGifs:
- baseUrl: https://cdn.saya.uz/static/home-page-gifs/otter-%s.gif
+ baseUrl: https://storage.yandexcloud.kz/sayauz-static/home-page-gifs/otter-%s.gif
indexes: ["1", "2", "3"]
staticStorage:
- baseUrl: https://cdn.saya.uz/static
- map:
- baseUrl: https://cdn.saya.uz/map
- pmTiles: global.pmtiles
+ baseUrl: https://storage.yandexcloud.kz/sayauz-static
allowOrigins:
- https://storage.yandexcloud.kz
- - https://cdn.saya.uz