Skip to content

Commit b7bfa4a

Browse files
committed
Updated readme.
1 parent 91c28d5 commit b7bfa4a

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ TARGET_FORMATS=jpg,webp,avif
5959

6060
### Config values description
6161

62-
| Configuration key | Default value | Description |
63-
| ----------- | --------- | ----------- |
64-
| API_KEY | | Api key for upload images. If not set application throw error. |
65-
| API_KEY_HEADER | | Header name for an API key in the request. If not set application throw error. |
66-
| CONVERT_TO_RES | 1024x720,800x600 | List of resolutions to which images will be converted. |
67-
| TARGET_FORMATS | jpg | List of target image formats. Current supported is `jpg`,`webp`,`avif` |
68-
| MAX_FILE_SIZE | 10 | Maximum size of the file sent to the application in megabytes. |
69-
| CACHE_CONTROL_HEADER | max-age=180, public | Sets HTTP header `Cache-Control` for control caching in browsers. [More information](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) |
70-
| AVIF_QUALITY | 70.0 | Quality `1..=100`. Panics if out of range. |
71-
| AVIF_SPEED | 6 | 1 = very very slow, but max compression.<br>10 = quick, but larger file sizes and lower quality.<br><br>Panics if outside `1..=10`. |
72-
| CACHE_TIME | 30 | Image cache lifetime set in minutes. **(Not implemented yet)** |
62+
| Configuration key | Required | Default value | Description |
63+
| ----------- | ---- | --------- | ----------- |
64+
| API_KEY | Yes | | Api key for upload images. If not set application throw error. |
65+
| API_KEY_HEADER | Yes | | Header name for an API key in the request. If not set application throw error. |
66+
| CONVERT_TO_RES | No | 1024x720,800x600 | List of resolutions to which images will be converted. |
67+
| TARGET_FORMATS | No | jpg | List of target image formats. Current supported is `jpg`,`webp`,`avif` |
68+
| MAX_FILE_SIZE | No | 10 | Maximum size of the file sent to the application in megabytes. |
69+
| CACHE_CONTROL_HEADER | No | max-age=180, public | Sets HTTP header `Cache-Control` for control caching in browsers. [More information](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) |
70+
| AVIF_QUALITY | No | 70.0 | Quality `1..=100`. Panics if out of range. |
71+
| AVIF_SPEED | No | 6 | 1 = very very slow, but max compression.<br>10 = quick, but larger file sizes and lower quality.<br><br>Panics if outside `1..=10`. |
72+
| CACHE_TIME | No | 30 | Image cache lifetime set in minutes. **(Not implemented yet)** |
7373

7474
### Volumes configuration in container
7575

0 commit comments

Comments
 (0)