mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
Fix readme
This commit is contained in:
parent
4048edbabb
commit
87450098cb
@ -13,16 +13,16 @@ Pasty is a fast and lightweight code pasting server
|
||||
|
||||
## AutoDelete
|
||||
Pasty provides an intuitive system to automatically delete pastes after a specific amount of time. You can configure it with the following variables:
|
||||
|
||||
## Storage types
|
||||
Pasty supports multiple storage types, defined using the `PASTY_STORAGE_TYPE` environment variable (use the value behind the corresponding title in this README).
|
||||
Every single one of them has its own configuration variables:
|
||||
| Environment Variable | Default Value | Type | Description |
|
||||
|----------------------------------|---------------|----------|--------------------------------------------------------------------------------|
|
||||
| `PASTY_AUTODELETE` | `false` | `bool` | Defines whether or not the AutoDelete system should be enabled |
|
||||
| `PASTY_AUTODELETE_LIFETIME` | `720h` | `string` | Defines the duration a paste should live until it gets deleted |
|
||||
| `PASTY_AUTODELETE_TASK_INTERVAL` | `5m` | `string` | Defines the interval in which the AutoDelete task should clean up the database |
|
||||
|
||||
## Storage types
|
||||
Pasty supports multiple storage types, defined using the `PASTY_STORAGE_TYPE` environment variable (use the value behind the corresponding title in this README).
|
||||
Every single one of them has its own configuration variables:
|
||||
|
||||
### File (`file`)
|
||||
| Environment Variable | Default Value | Type | Description |
|
||||
|---------------------------|---------------|----------|-----------------------------------------------------------|
|
||||
|
Loading…
Reference in New Issue
Block a user