I need help using custom private node in docker compose host n8n

I have n8n hosted with docker compose following this tutorial: Docker Compose | n8n Docs.

I made a node and it is in my ubuntu ~/.n8n/custom folder just as the documentation for creating a node tells how. I don’t how to add this node to the n8n instance running inside of docker. Does somebody know how to do that?

I wrote up instructions for how to do this a while back. Please take a look and see if it’s an approach that would suit you.

Also, since things change a bit over time and I haven’t checked/updated this for a few months, please send me a DM if anything needs to be adjusted.