feat(nextcloud): Add imaginary container for thumbnails
This commit is contained in:
parent
7e1381913c
commit
36ff0fb5fa
1 changed files with 18 additions and 0 deletions
|
|
@ -142,6 +142,24 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
# from https://okxo.de/speed-up-nextcloud-preview-generation-with-imaginary/
|
||||||
|
# and https://github.com/nextcloud/all-in-one/tree/main/Containers/imaginary
|
||||||
|
imaginary:
|
||||||
|
image: nextcloud/aio-imaginary:latest
|
||||||
|
environment:
|
||||||
|
- PORT=9000
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/healthcheck.sh"]
|
||||||
|
interval: 1m
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 1m
|
||||||
|
command: -return-size -max-allowed-resolution 222.2 -concurrency 50 -enable-url-source -log-level debug
|
||||||
|
cap_add:
|
||||||
|
- CAP_SYS_NICE
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
|
||||||
# metrics:
|
# metrics:
|
||||||
# image: telegraf
|
# image: telegraf
|
||||||
# hostname: "${HOSTNAME:-vmi352583.contaboserver.net}"
|
# hostname: "${HOSTNAME:-vmi352583.contaboserver.net}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue