Skip to content

Commit

Permalink
docs: Use mysql as default example backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Eragonfr committed May 1, 2024
1 parent 32e7792 commit 5ee0d55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/local.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ human_logs = 1

# Example Syncstorage settings:
# Example MySQL DSN:
#syncstorage.database_url = "mysql://sample_user:sample_password@localhost/syncstorage_rs"
syncstorage.database_url = "mysql://sample_user:sample_password@localhost/syncstorage_rs"
# Example Spanner DSN:
# database_url="spanner://projects/SAMPLE_GCP_PROJECT/instances/SAMPLE_SPANNER_INSTANCE/databases/SAMPLE_SPANNER_DB"
# Example SQLite DSN:
# database_url="sqlite://PATH_TO_FILE/FILE.sqlite"
syncstorage.database_url = ":memory:"

# enable quota limits
syncstorage.enable_quota = 0
Expand All @@ -20,8 +19,7 @@ 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.database_url = ":memory:"
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"
Expand Down

0 comments on commit 5ee0d55

Please sign in to comment.