mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
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.
|
This variable cannot be defined in dotenv (`.env`) files as it's used before they are loaded.
|
||||||
{{</ hint >}}
|
{{</ 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}
|
### Scaling options {#scaling}
|
||||||
|
|
||||||
{{< page-ref page="admin/scaling" >}}
|
{{< page-ref page="admin/scaling" >}}
|
||||||
|
@ -42,7 +42,7 @@ echo "deb [signed-by=/usr/share/keyrings/postgresql.asc] http://apt.postgresql.o
|
|||||||
```bash
|
```bash
|
||||||
apt update
|
apt update
|
||||||
apt install -y \
|
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 \
|
g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf \
|
||||||
bison build-essential libssl-dev libyaml-dev libreadline6-dev \
|
bison build-essential libssl-dev libyaml-dev libreadline6-dev \
|
||||||
zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
|
zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user