Skip to content

Commit fc765fd

Browse files
authored
Merge pull request #163 from s3rius/feature/update-docs
Removed DB configuration from docs.
2 parents 28bfe05 + 7b6f707 commit fc765fd

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

docs/configuration.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -300,36 +300,6 @@ Configuration parameters:
300300
rustus
301301
```
302302

303-
304-
### DB info storage
305-
306-
Rustus can store information about upload in a database.
307-
308-
It's a good and reliable option. But Rustus can't work
309-
with replicas, since it requires the most recent information
310-
about uploads.
311-
312-
You can use `postgresql`, `mysql` or even `sqlite` schemas to
313-
connect to database.
314-
315-
`--info-db-dsn` - connection string for your database.
316-
317-
=== "CLI"
318-
319-
``` bash
320-
rustus --info-storage "db-info-storage" \
321-
--info-db-dsn "postgresql://user:password@localhost/db"
322-
```
323-
324-
=== "ENV"
325-
326-
``` bash
327-
export RUSTUS_INFO_STORAGE="redis-info-storage"
328-
export RUSTUS_INFO_DB_DSN="postgresql://user:password@localhost/db"
329-
330-
rustus
331-
```
332-
333303
## Configuring TUS
334304

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

0 commit comments

Comments
 (0)