Install customer Node on Self-hosted / Digital Ocean / Caddy / Docker Compose setup

Hi

I have modified an existing community node to fix some issues. I’ve done this locally (actually on a GitHub codespace).

I now want to test my node on my n8n.io instances which is hosted on Digital Ocean (having followed the instructions at Digital Ocean | n8n Docs

In the docker-compose.yml (which I haven’t changed(


  n8n:
    image: docker.n8n.io/n8nio/n8n
    restart: always
    ports:
      - 5678:5678
    environment:
      - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
      - N8N_PORT=5678
      - N8N_PROTOCOL=https
      - NODE_ENV=production
      - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
      - GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
    volumes:
      - n8n_data:/home/node/.n8n
      - ${DATA_FOLDER}/local_files:/files

I don’t have a /home/node/.n8n folder in the host filesystem and from reading elsewhere in the forum I think I’m supposed to put the node under .n8n/custom.

Any pointers to get me started?

thanks in advance

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Russell_Hutson,

It is a lot easier to test locally but if you want to do it in a container you could try adding your node to the .n8n/custom folder which can be found in the n8n_data volume. You may need to fix the permissions in the container as well using docker exec.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.