diff options
| author | Jose Diaz-Gonzalez <email@josediazgonzalez.com> | 2026-03-02 12:24:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 18:24:00 +0100 |
| commit | 25e32abf4e2c0358328790ee024c000ead82152f (patch) | |
| tree | 3935c2672f58e01af5fc9a8cb75674ce86e3c5b7 | |
| parent | chore(deps): bump rustix from 0.38.44 to 1.1.4 (#3220) (diff) | |
| download | atuin-25e32abf4e2c0358328790ee024c000ead82152f.zip | |
docs: clean up doc references for sqlite-based self-hosting (#3216)
## Checks
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Diffstat (limited to '')
| -rw-r--r-- | docs/docs/self-hosting/server-setup.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/docs/self-hosting/server-setup.md b/docs/docs/self-hosting/server-setup.md index e983fa0b..11237c70 100644 --- a/docs/docs/self-hosting/server-setup.md +++ b/docs/docs/self-hosting/server-setup.md @@ -44,15 +44,19 @@ ATUIN_DB_URI="postgres://user:password@hostname/database" | `db_uri` | A valid PostgreSQL URI, for saving history (default: false) | | `path` | A path to prepend to all routes of the server (default: false) | -For sqlite, substitute the following: +For sqlite, use the following in your server.toml: +```toml db_uri="sqlite:///config/atuin.db" +``` -ATUIN_DB_URI="sqlite:///config/atuin.db" +Alternatively, provide the Database URI via an environment variable -These will create the database in the /config directory. +```sh +ATUIN_DB_URI="sqlite:///config/atuin.db" +``` -You will need to map some sort of persistent volume for the /config directory and it should be writable by the atuin server. +These will create the database in the `/config` directory. Be sure to map a persistent volume to the `/config` directory that is writable by the atuin server. ### TLS |
