mirror of
https://github.com/YunoHost-Apps/syncserver-rs_ynh.git
synced 2024-09-03 20:26:32 +02:00
30 lines
1.2 KiB
TOML
30 lines
1.2 KiB
TOML
master_secret = "__MASTER_SECRET__"
|
|
|
|
# removing this line will default to moz_json formatted logs (which is preferred for production envs)
|
|
human_logs = 1
|
|
|
|
port = __PORT__
|
|
|
|
# Example Syncstorage settings:
|
|
# Example MySQL DSN:
|
|
syncstorage.database_url = "mysql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__"
|
|
# Example Spanner DSN:
|
|
# database_url="spanner://projects/SAMPLE_GCP_PROJECT/instances/SAMPLE_SPANNER_INSTANCE/databases/SAMPLE_SPANNER_DB"
|
|
# enable quota limits
|
|
syncstorage.enable_quota = 0
|
|
# set the quota limit to 2GB.
|
|
# max_quota_limit = 200000000
|
|
syncstorage.enabled = true
|
|
syncstorage.limits.max_total_records = 1666 # See issues #298/#333
|
|
|
|
# Example Tokenserver settings:
|
|
tokenserver.database_url = "mysql://__DB_USER__:__DB_PWD__@localhost/__DB_NAME_TOKENSERVER__"
|
|
tokenserver.enabled = true
|
|
tokenserver.node_type = "mysql"
|
|
|
|
tokenserver.fxa_metrics_hash_secret = "__SECRET__"
|
|
tokenserver.fxa_email_domain = "api.accounts.firefox.com"
|
|
tokenserver.fxa_oauth_server_url = "https://oauth.accounts.firefox.com"
|
|
tokenserver.fxa_browserid_audience = "https://token.services.mozilla.com"
|
|
tokenserver.fxa_browserid_issuer = "https://api.accounts.firefox.com"
|
|
tokenserver.fxa_browserid_server_url = "https://verifier.accounts.firefox.com/v2"
|