Add config for MASTODON_USE_LIBVIPS (#1463)
* Docs for using libvips * "utilizating"
This commit is contained in:
parent
24dd81ef49
commit
2dfcf2c059
|
@ -262,6 +262,17 @@ If you are not using Unix sockets, this defines the IP to which the process will
|
|||
This variable cannot be defined in dotenv (`.env`) files as it's used before they are loaded.
|
||||
{{</ hint >}}
|
||||
|
||||
#### `MASTODON_USE_LIBVIPS`
|
||||
|
||||
By default, Mastodon uses ImageMagick to process images in posts. As an alternative, [libvips](https://www.libvips.org) 8.13+ can be utilized, which has better performance and lower resource utilization.
|
||||
|
||||
When installing Mastodon from source, this defaults to `false`, set to `true` to enable.
|
||||
|
||||
When deploying the Mastodon project container image, this is hardcoded to `true` and should not be overridden.
|
||||
|
||||
**Version history:**\
|
||||
4.3.0 - added
|
||||
|
||||
### Scaling options {#scaling}
|
||||
|
||||
{{< page-ref page="admin/scaling" >}}
|
||||
|
|
|
@ -42,7 +42,7 @@ echo "deb [signed-by=/usr/share/keyrings/postgresql.asc] http://apt.postgresql.o
|
|||
```bash
|
||||
apt update
|
||||
apt install -y \
|
||||
imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
|
||||
imagemagick ffmpeg libvips-tools libpq-dev libxml2-dev libxslt1-dev file git-core \
|
||||
g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf \
|
||||
bison build-essential libssl-dev libyaml-dev libreadline6-dev \
|
||||
zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
|
||||
|
|
Loading…
Reference in New Issue