yeah i changed that because i was testing. but i now realize that was dumb. ive change both the hostname and the url to pictrs.
OMG that just worked..... i feel so dumb rn. it is strange tho because that wasnt working before.
Thanks for all the help :)
hmm after looking i dont even see an option to change the port (in pictrs). it seems stuck at 8080, but since its running on its own network, i doubt it would matter.
pictrs:
image: asonix/pictrs:0.4.0
# this needs to match the pictrs url in lemmy.hjson
hostname: 127.0.0.1
# 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
environment:
- PICTRS_OPENTELEMETRY_URL=http://otel:4137
- PICTRS__SERVER__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
yeah I've already done that, I did sudo chown -r 991:991 volumes/pictrs.
what details do you need about my setup?
edit: I do know another program is already using port 8080 on my host machine, or does that not matter when it's running inside docker?
It has zswap and a swapfile of about 8 gb, and it gets fully utilized