Skip to content

Commit

Permalink
Merge pull request #163 from s3rius/feature/update-docs
Browse files Browse the repository at this point in the history
Removed DB configuration from docs.
  • Loading branch information
s3rius authored Dec 17, 2024
2 parents 28bfe05 + 7b6f707 commit fc765fd
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,36 +300,6 @@ Configuration parameters:
rustus
```


### DB info storage

Rustus can store information about upload in a database.

It's a good and reliable option. But Rustus can't work
with replicas, since it requires the most recent information
about uploads.

You can use `postgresql`, `mysql` or even `sqlite` schemas to
connect to database.

`--info-db-dsn` - connection string for your database.

=== "CLI"

``` bash
rustus --info-storage "db-info-storage" \
--info-db-dsn "postgresql://user:password@localhost/db"
```

=== "ENV"

``` bash
export RUSTUS_INFO_STORAGE="redis-info-storage"
export RUSTUS_INFO_DB_DSN="postgresql://user:password@localhost/db"

rustus
```

## Configuring TUS

Since TUS protocol offers extensibility you can turn off some protocol extensions.
Expand Down

0 comments on commit fc765fd

Please sign in to comment.