Search function in seafile doesnt work

Hi dani, I am having a similar issue (File search not working, elasticsearch wont index after deploying Seafile 9.0.7 docker) and I was wondering if you could expand on your answer. How do I get seafevents.conf to point to elasticsearch? My seafile PE is running in a docker, and my seafevents.conf only has:

enabled = true

enabled = true
interval = 10m
highlight = fvh

I would appreciate your help.