Maybe give that one a try. It seems like you are already using his image anyway. Also it seems like the command to run for the worker is different in his image.
If you have issues with that setup, feel free to post what issues you having.
Technically you don’t really need to setup a bunch of networks unless you are trying to host this or something, which I wouldn’t recommend docker compose anyway. So, if you wanted to keep it simple, you could just the default network.
Another note, while zknt/pixelfed does exist on docker hub. It was moved to quay, so continue using that image.