Nodes Exclusion and Inclusion

Describe the problem/error/question

I have set the environment variables using docker with NODES_EXCLUDE and NODES_INCLUDE (tried with both of them) with the help of setting environment variables doc. It is showing that environment variables are still there in my docker but the values that i am passing to these variables are not reflecting on my instance. Could you please help me with that, I’m not sure whether it is due to version issue or something else

Below is how i am setting my environment in docker-compose
environment:
- NODES_EXCLUDE=“["n8n-nodes-base.salesmate", "n8n-nodes-base.seaTable"]”

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

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:

It is mentioned, please check.

Making a guess at what might be happening.

If you just restarted your docker compose setup, that won’t pick up any changes to the docker-compose.yaml - See docs

If that is why your env vars are not getting updated in the container, you can, instead, use docker compose build, or docker compose up with the --force-recreate switch.

Please mark this post as the solution if it turns out that is what you were missing.