as @walden already mentioned, the files in Lemmy’s documentation are the wrong ones. The correct file seems to be in https://github.com/LemmyNet/lemmy/blob/main/docker/docker-compose.yml.
The documentation won’t help you if you don’t want to use Ansible.
Do you have a firewall on
192.168.43.87
that may be blocking external connections?