1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## 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
# [tls]
# enable = false
# cert_path = ""
# pkey_path = ""
## 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