i just got it running today, behind nginx. it did not work out of the box: i had to patch the upstream database migration scripts otherwise it would crash on start with some weird Postgres permissions edgecase. after that it's fine: idling at 200 MB and trivial CPU.
i'll try and upstream stuff to make it easier but until then here's what works for me (you can also find this by searching lemmy
in a NUR checkout):