Could you share yml plz, also N8N_WORKERS_COUNT isn’t a var that am aware of. Mostly looks okay otherwise you would need to make sure ure worker container starts with n8n worker,
You can check out Ultimate n8n Dev Container (with Debugging, Monitoring & Observability) Dockers
n8n-worker:
<<: *shared
command: worker < MAKE SURE THIS COMMAND IS ON WORKER AND IS SAME NETWORK ALSO.
depends_on:
- n8n
As this has workers also, you can probably copy and paste bits if needed.
Hope this helps,
Samuel