mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-01-21 00:12:14 +01:00
Update README with some minor changes for setting up syncstorage-rs in mid-2025. Co-authored-by: Taddes <tkorris@mozilla.com>
31 lines
1.3 KiB
TOML
31 lines
1.3 KiB
TOML
master_secret = "INSERT_SECRET_KEY_HERE"
|
|
|
|
# removing this line will default to moz_json formatted logs (which is preferred for production envs)
|
|
human_logs = 1
|
|
|
|
# Example Syncstorage settings:
|
|
# Example MySQL DSN:
|
|
syncstorage.database_url = "mysql://sample_user:sample_password@localhost/syncstorage_rs"
|
|
# Example Spanner DSN:
|
|
# syncstorage.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://sample_user:sample_password@localhost/tokenserver_rs"
|
|
tokenserver.enabled = true
|
|
tokenserver.fxa_email_domain = "api-accounts.stage.mozaws.net"
|
|
tokenserver.fxa_metrics_hash_secret = "INSERT_SECRET_KEY_HERE"
|
|
tokenserver.fxa_oauth_server_url = "https://oauth.stage.mozaws.net"
|
|
tokenserver.fxa_browserid_audience = "https://token.stage.mozaws.net"
|
|
tokenserver.fxa_browserid_issuer = "https://api-accounts.stage.mozaws.net"
|
|
tokenserver.fxa_browserid_server_url = "https://verifier.stage.mozaws.net/v2"
|
|
|
|
# cors settings
|
|
# cors_allowed_origin = "localhost"
|
|
# cors_max_age = 86400
|