Am I doing the lemmy image compression and removal of old proxied images correctly? Here's my docker service for lemmy:
pictrs:
image: docker.io/asonix/pictrs:0.5
# this needs to match the pictrs url in lemmy.hjson
hostname: pictrs
# we can set options to pictrs like this, here we set max. image size and forced format for conversion
# entrypoint: /sbin/tini -- /usr/local/bin/pict-rs -p /mnt -m 4 --image-format webp
entrypoint: /sbin/tini -- /usr/local/bin/pict-rs run --max-file-count 5 --media-max-file-size 500 --media-image-format webp --media-image-quality-webp 50 --media-animation-quality-webp 50 --media-retention-proxy 1d --media-retention-variants 1d filesystem sled -p /mnt
user: 991:991
volumes:
- ./volumes/pictrs:/mnt:Z
restart: always
logging: *default-logging