diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.local.yaml | 36 | ||||
| -rw-r--r-- | config/config.prod.yaml | 38 | ||||
| -rw-r--r-- | config/config.stage.yaml | 36 |
3 files changed, 55 insertions, 55 deletions
diff --git a/config/config.local.yaml b/config/config.local.yaml index fb79e97..7769438 100644 --- a/config/config.local.yaml +++ b/config/config.local.yaml @@ -5,19 +5,19 @@ blogPages: config: bucketName: sayana-pages region: eu-central-003 - prefix: 'stage-' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' + prefix: "stage-" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" factGiver: storage: type: b2 config: bucketName: sayana-pages region: eu-central-003 - prefix: '' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' - factsFileName: 'facts-*.txt' + prefix: "" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" + factsFileName: "facts-*.txt" localePath: ./locale/ availableLanguages: - name: ru @@ -33,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.TODAY' - mailAddress: '${MAIL_ADDRESS}' - username: '${MAIL_USERNAME}' - password: '${MAIL_PASSWORD}' - salt: '${MAIL_SALT}' + 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}" 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 @@ -63,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: diff --git a/config/config.prod.yaml b/config/config.prod.yaml index 868e242..91f606f 100644 --- a/config/config.prod.yaml +++ b/config/config.prod.yaml @@ -5,19 +5,19 @@ blogPages: config: bucketName: sayana-pages region: eu-central-003 - prefix: 'prod-' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' + prefix: "prod-" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" factGiver: storage: type: b2 config: bucketName: sayana-pages region: eu-central-003 - prefix: '' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' - factsFileName: 'facts-*.txt' + prefix: "" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" + factsFileName: "facts-*.txt" localePath: ./locale/ availableLanguages: - name: ru @@ -32,21 +32,21 @@ auth: db: type: sqlite3 config: - dsn: 'file:/data/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL' - salt: '${AUTH_SALT}' + dsn: "file:/data/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL" + salt: "${AUTH_SALT}" mail: - clientHost: '${FQDN}' - mailHost: '${MAIL_HOST}' - publicName: 'SAYA.TODAY' - mailAddress: '${MAIL_ADDRESS}' - username: '${MAIL_USERNAME}' - password: '${MAIL_PASSWORD}' - salt: '${MAIL_SALT}' + clientHost: "${FQDN}" + mailHost: "${MAIL_HOST}" + publicName: "SAYA.UZ" + mailAddress: "${MAIL_ADDRESS}" + username: "${MAIL_USERNAME}" + password: "${MAIL_PASSWORD}" + salt: "${MAIL_SALT}" trigger: onNewPost: "0/5 * * * *" -canonicalEndpoint: 'https://${FQDN}' +canonicalEndpoint: "https://${FQDN}" meta: - googleSiteVerification: '${GOOGLE_SITE_VERIFICATION}' + googleSiteVerification: "${GOOGLE_SITE_VERIFICATION}" photoStorage: full: baseUrl: https://storage.yandexcloud.kz/sayauz-photos/%s @@ -64,7 +64,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: diff --git a/config/config.stage.yaml b/config/config.stage.yaml index ab86709..3f1381b 100644 --- a/config/config.stage.yaml +++ b/config/config.stage.yaml @@ -5,19 +5,19 @@ blogPages: config: bucketName: sayana-pages region: eu-central-003 - prefix: 'stage-' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' + prefix: "stage-" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" factGiver: storage: type: b2 config: bucketName: sayana-pages region: eu-central-003 - prefix: '' - keyID: '${B2_KEY_ID}' - applicationKey: '${B2_APPLICATION_KEY}' - factsFileName: 'facts-*.txt' + prefix: "" + keyID: "${B2_KEY_ID}" + applicationKey: "${B2_APPLICATION_KEY}" + factsFileName: "facts-*.txt" localePath: ./locale/ availableLanguages: - name: ru @@ -32,19 +32,19 @@ auth: db: type: sqlite3 config: - dsn: 'file:/data/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL' - salt: '${AUTH_SALT}' + dsn: "file:/data/auth.db?cache=private&mode=rwc&_locking_mode=EXCLUSIVE&_mutex=no&_auto_vacuum=2&_journal_mode=WAL" + salt: "${AUTH_SALT}" mail: - clientHost: '${FQDN}' - mailHost: '${MAIL_HOST}' - publicName: 'DEMO.SAYA.TODAY' - mailAddress: '${MAIL_ADDRESS}' - username: '${MAIL_USERNAME}' - password: '${MAIL_PASSWORD}' - salt: '${MAIL_SALT}' + clientHost: "${FQDN}" + mailHost: "${MAIL_HOST}" + publicName: "STAGE.SAYA.UZ" + mailAddress: "${MAIL_ADDRESS}" + username: "${MAIL_USERNAME}" + password: "${MAIL_PASSWORD}" + salt: "${MAIL_SALT}" trigger: onNewPost: "0/3 * * * *" -canonicalEndpoint: 'https://${FQDN}' +canonicalEndpoint: "https://${FQDN}" photoStorage: full: baseUrl: https://storage.yandexcloud.kz/sayauz-photos/%s @@ -62,7 +62,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: |