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.yaml56
1 files changed, 24 insertions, 32 deletions
diff --git a/config/config.local.yaml b/config/config.local.yaml
index d3e2e33..fb79e97 100644
--- a/config/config.local.yaml
+++ b/config/config.local.yaml
@@ -1,31 +1,23 @@
logLevel: debug
-endpoint:
- type: http
- config:
- listenOn: ":3000"
blogPages:
storage:
- type: s3
+ type: b2
config:
- bucketName: sayauz-pages
- region: kz1
- prefix: "stage-"
- endpoint: "https://storage.yandexcloud.kz"
- usePathStyle: true
- accessKeyID: "${S3_ACCESS_KEY_ID}"
- secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
+ bucketName: sayana-pages
+ region: eu-central-003
+ prefix: 'stage-'
+ keyID: '${B2_KEY_ID}'
+ applicationKey: '${B2_APPLICATION_KEY}'
factGiver:
storage:
- type: s3
+ type: b2
config:
- bucketName: sayauz-pages
- region: kz1
- prefix: ""
- endpoint: "https://storage.yandexcloud.kz"
- usePathStyle: true
- accessKeyID: "${S3_ACCESS_KEY_ID}"
- secretAccessKey: "${S3_SECRET_ACCESS_KEY}"
- factsFileName: "facts-*.txt"
+ bucketName: sayana-pages
+ region: eu-central-003
+ prefix: ''
+ keyID: '${B2_KEY_ID}'
+ applicationKey: '${B2_APPLICATION_KEY}'
+ factsFileName: 'facts-*.txt'
localePath: ./locale/
availableLanguages:
- name: ru
@@ -41,19 +33,19 @@ auth:
type: sqlite3
config:
# dsn: 'file:/tmp/auth.db?cache=shared&mode=rwc&_journal_mode=WAL'
- dsn: "file:/tmp/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL"
- salt: "123"
+ dsn: 'file:/tmp/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL'
+ salt: '123'
mail:
- clientHost: "127.0.0.1:3000"
- mailHost: "${MAIL_HOST}"
- publicName: "LOCAL.SAYA.UZ"
- mailAddress: "${MAIL_ADDRESS}"
- username: "${MAIL_USERNAME}"
- password: "${MAIL_PASSWORD}"
- salt: "${MAIL_SALT}"
+ clientHost: '127.0.0.1:3000'
+ mailHost: '${MAIL_HOST}'
+ publicName: 'LOCAL.SAYA.TODAY'
+ mailAddress: '${MAIL_ADDRESS}'
+ username: '${MAIL_USERNAME}'
+ password: '${MAIL_PASSWORD}'
+ salt: '${MAIL_SALT}'
trigger:
onNewPost: "* * * * *"
-canonicalEndpoint: "http://127.0.0.1:3000"
+canonicalEndpoint: 'http://127.0.0.1:3000'
photoStorage:
full:
baseUrl: https://storage.yandexcloud.kz/sayauz-photos/%s
@@ -71,7 +63,7 @@ photoStorage:
baseUrl: https://storage.yandexcloud.kz/sayauz-thumbnails-webp320/%s.webp
homePageGifs:
baseUrl: https://storage.yandexcloud.kz/sayauz-static/home-page-gifs/otter-%s.gif
- indexes: ["1", "2", "3"]
+ indexes: ['1', '2', '3']
staticStorage:
baseUrl: https://storage.yandexcloud.kz/sayauz-static
allowOrigins: