]> Untitled Git - lemmy.git/blobdiff - docker/docker-compose.yml
Add Custom Emojis Support (#2616)
[lemmy.git] / docker / docker-compose.yml
index 7ed15150c426c9159a6b37a0851377054b534126..b46c1f8e28dca3bd2602484522df9360f4bf8666 100644 (file)
@@ -70,7 +70,7 @@ services:
     restart: always
 
   pictrs:
-    image: asonix/pictrs:0.3.1
+    image: asonix/pictrs:0.4.0-beta.19
     # 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
@@ -82,6 +82,11 @@ services:
       - PICTRS__API_KEY=API_KEY
       - RUST_LOG=debug
       - RUST_BACKTRACE=full
+      - PICTRS__MEDIA__VIDEO_CODEC=vp9
+      - PICTRS__MEDIA__GIF__MAX_WIDTH=256
+      - PICTRS__MEDIA__GIF__MAX_HEIGHT=256
+      - PICTRS__MEDIA__GIF__MAX_AREA=65536
+      - PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=400
     user: 991:991
     volumes:
       - ./volumes/pictrs:/mnt