diff options
Diffstat (limited to 'crates/atuin-server/server.toml')
| -rw-r--r-- | crates/atuin-server/server.toml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/crates/atuin-server/server.toml b/crates/atuin-server/server.toml new file mode 100644 index 00000000..9ff95890 --- /dev/null +++ b/crates/atuin-server/server.toml @@ -0,0 +1,38 @@ +## host to bind, can also be passed via CLI args +# host = "127.0.0.1" + +## port to bind, can also be passed via CLI args +# port = 8888 + +## whether to allow anyone to register an account +# open_registration = false + +## URI for postgres (using development creds here) +# db_uri="postgres://username:password@localhost/atuin" +# db_uri="sqlite:///config/atuin-server.db" + +## Optional: URI for read replica database +## If set, read-only queries will be routed to this database +# read_db_uri="postgres://username:password@localhost-replica/atuin" + +## Maximum size for one history entry +# max_history_length = 8192 + +## Maximum size for one record entry +## 1024 * 1024 * 1024 +# max_record_size = 1073741824 + +## Webhook to be called when user registers on the servers +# register_webhook_username = "" + +## Default page size for requests +# page_size = 1100 + +# [metrics] +# enable = false +# host = 127.0.0.1 +# port = 9001 + +## Enable legacy sync v1 routes (history-based sync) +## Set to false to disable and use only the newer record-based sync +# sync_v1_enabled = true |
