2021-12-07 12:31:39 +00:00
|
|
|
{
|
|
|
|
"account-domain": "example.org",
|
|
|
|
"accounts-approval-required": true,
|
|
|
|
"accounts-reason-required": true,
|
|
|
|
"accounts-registration-open": true,
|
|
|
|
"application-name": "gotosocial",
|
|
|
|
"bind-address": "0.0.0.0",
|
2022-11-15 15:53:19 +00:00
|
|
|
"config-path": "testdata/test.json",
|
2021-12-07 12:31:39 +00:00
|
|
|
"db-address": "127.0.0.1",
|
|
|
|
"db-database": "postgres",
|
|
|
|
"db-password": "postgres",
|
|
|
|
"db-port": 5432,
|
|
|
|
"db-tls-ca-cert": "",
|
|
|
|
"db-tls-mode": "disable",
|
|
|
|
"db-type": "postgres",
|
|
|
|
"db-user": "postgres",
|
|
|
|
"host": "gts.example.org",
|
|
|
|
"letsencrypt-cert-dir": "/gotosocial/storage/certs",
|
|
|
|
"letsencrypt-email-address": "",
|
|
|
|
"letsencrypt-enabled": true,
|
|
|
|
"letsencrypt-port": 80,
|
|
|
|
"log-level": "info",
|
|
|
|
"media-description-max-chars": 500,
|
|
|
|
"media-description-min-chars": 0,
|
2022-07-20 11:25:06 +01:00
|
|
|
"media-image-max-size": 10485760,
|
|
|
|
"media-video-max-size": 41943040,
|
2021-12-07 12:31:39 +00:00
|
|
|
"oidc-client-id": "",
|
|
|
|
"oidc-client-secret": "",
|
|
|
|
"oidc-enabled": false,
|
|
|
|
"oidc-idp-name": "",
|
|
|
|
"oidc-issuer": "",
|
|
|
|
"oidc-scopes": [
|
|
|
|
"openid",
|
|
|
|
"email",
|
|
|
|
"profile",
|
|
|
|
"groups"
|
|
|
|
],
|
|
|
|
"oidc-skip-verification": false,
|
|
|
|
"port": 8080,
|
|
|
|
"protocol": "https",
|
|
|
|
"smtp-from": "someone@example.org",
|
|
|
|
"smtp-host": "verycoolemailhost.mail",
|
|
|
|
"smtp-password": "smtp-password",
|
|
|
|
"smtp-port": 8888,
|
|
|
|
"smtp-username": "smtp-username",
|
|
|
|
"software-version": "",
|
|
|
|
"statuses-cw-max-chars": 100,
|
|
|
|
"statuses-max-chars": 5000,
|
|
|
|
"statuses-media-max-files": 6,
|
|
|
|
"statuses-poll-max-options": 6,
|
|
|
|
"statuses-poll-option-max-chars": 50,
|
|
|
|
"storage-backend": "local",
|
2021-12-20 14:19:53 +00:00
|
|
|
"storage-local-base-path": "/gotosocial/storage",
|
2021-12-07 12:31:39 +00:00
|
|
|
"trusted-proxies": [
|
|
|
|
"127.0.0.1/32",
|
|
|
|
"0.0.0.0/0"
|
|
|
|
],
|
|
|
|
"web-asset-base-dir": "./web/assets/",
|
|
|
|
"web-template-base-dir": "./web/template/"
|
|
|
|
}
|