October 4, 20241 yr On 10/2/2024 at 1:16 PM, Braulio Dias Ribeiro said: Did anyone configure postgres database? The N8N doesn't create anything in the appdata folder and it doesn't open either. DB_TYPE=postgresdb DB_POSTGRESDB_DATABASE=n8n DB_POSTGRESDB_HOST=192.168.10.254 (IP unraid) DB_POSTGRESDB_PORT=5432 DB_POSTGRESDB_USER=bdrtec DB_POSTGRESDB_SCHEMA=public DB_POSTGRESDB_PASSWORD=My_PASS I just now tried to set this up and the base template doesn't work for me. I had to make sure the root directory permissions in unraid share for n8n was set to RW/RW/RW For some reason it uses another user account to create all the folders instead of what should be the "nobody" account. I tried adding the MySQL/MySQL env variables and the install just created a postgres database instead. I also had to make the postgres database permissions RW/RW/RW otherwise you can't create the base user once you access the browser portal. Still playing with it now, trying to get LDAP working on invoice ninja.
October 4, 20241 yr 9 hours ago, zer0ish said: I just now tried to set this up and the base template doesn't work for me. I had to make sure the root directory permissions in unraid share for n8n was set to RW/RW/RW For some reason it uses another user account to create all the folders instead of what should be the "nobody" account. I tried adding the MySQL/MySQL env variables and the install just created a postgres database instead. I also had to make the postgres database permissions RW/RW/RW otherwise you can't create the base user once you access the browser portal. Still playing with it now, trying to get LDAP working on invoice ninja. Did you get it as mysql? Couldn't you do it with postgres too?
October 8, 20241 yr On 9/23/2024 at 6:42 AM, issabankz said: Did you find a solution to this? I want to use it with SWAG, but I’m also stuck on the local network with that window and cannot access it via an external domain. The solution to this is given on the last line. Create a new environment variable in the docker config. Click Add these details Save and apply.
October 10, 20241 yr On 10/8/2024 at 4:47 AM, bigmicka said: The solution to this is given on the last line. Create a new environment variable in the docker config. Click Add these details Save and apply. Thank you for the hint i will give it a try.
October 22, 20241 yr To everyone trying to access the container through Swag, here is a working nginx config file: ## Version 2024/07/16 # make sure that your dns has a cname set for n8n and that your n8n container is not using a base url # add `server.use-forward-headers=true` to `/config/application.properties` to ensure logs contain real source IP server { listen 443 ssl; listen [::]:443 ssl; server_name n8n.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app n8n; set $upstream_port 5678; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_set_header Connection ''; chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; } } Along with this, you need to setup a couple of environmental variables: Name: VUE_APP_URL_BASE_API Key: VUE_APP_URL_BASE_API Value: https://n8n.yourdomain.com Name: N8N_HOST Key: N8N_HOST Value: n8n.yourdomain.com It should work without N8N_SECURE_COOKIE variable.
December 5, 20241 yr Not sure if this is a known bug, but when I try to add a node to a workflow I get an Error toast saying "window.crypto.randomUUID is not a function" (screenshot below). There's nothing in the logs. It still asks me to save before leaving even though the change failed and therefor there is no actual change to save (I suspect this is because the add node operation sets some kind of unsaved work flag before it fails due to the error). Versions: Unraid 6.12.3 n8n 1.70.2 Edit: found the same issue on the GitHub project, reverted to previous version as that is recommended there Edited December 8, 20241 yr by Eli112358
January 26, 20251 yr I keep getting errors when I try to set up a n8n funnel using tailscale. ======================= Executing Unraid Docker Hook for Tailscale ERROR: No root privileges! ERROR: Unraid Docker Hook script throw an error! Starting container without Tailscale! Starting container... ======================= Ideas?
January 31, 20251 yr I need to install n8n in queue mode. I have to install 3 containers following this manual, but I'm really lost... I don't know how to fill in the .env. I have knowledge but not that advanced so I'm not able to understand how to do it. Could someone help?
February 7, 20251 yr On 1/31/2025 at 1:11 PM, Braulio Dias Ribeiro said: I need to install n8n in queue mode. I have to install 3 containers following this manual, but I'm really lost... I don't know how to fill in the .env. I have knowledge but not that advanced so I'm not able to understand how to do it. Could someone help? Where do I put this information when installing docker? n8n_editor: # Set the container hotname # hostname: "{{.Service.Name}}.{{.Task.Slot}}" # default command to start the editor web server command: start And how should I write it? Example: --command: start
February 10, 20251 yr On 10/13/2020 at 4:35 PM, tmchow said: Github: https://github.com/n8nio/n8n The github link in the original post is a dead link. I'm guessing it should be https://github.com/n8n-io/n8n and the banner should be https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png
February 11, 20251 yr Firstly, thanks for this container. n8n is amazing and I'm glad it's readily available on unRaid. However, having installed it on several different unRaid servers, I have found the need to manually set permissions on /appdata/n8n to RW for all users. Cheers Edited February 11, 20251 yr by RichardU
February 12, 20251 yr 18 hours ago, RichardU said: Firstly, thanks for this container. n8n is amazing and I'm glad it's readily available on unRaid. However, having installed it on several different unRaid servers, I have found the need to manually set permissions on /appdata/n8n to RW for all users. Cheers Were you able to install n8n in queue mode?
February 15, 20251 yr On 2/12/2025 at 8:18 AM, Braulio Dias Ribeiro said: Were you able to install n8n in queue mode? Should I? I never tried that. I have only done plain vanilla stand-alone installs.
February 17, 20251 yr On 2/15/2025 at 5:11 PM, RichardU said: Should I? I never tried that. I have only done plain vanilla stand-alone installs. It should because it is faster. But I couldn't do it in Unraid because I was learning some things about it.
February 24, 20251 yr Guys, I was able to install n8n in queue mode on Unraid. With the help of @bmartino1, I installed it through Docker Compose. @bmartino1 Thank you for everything and for your patience, because I asked so many things. I couldn’t install it using the Unraid template. Here are the Compose files for each Docker. Queue mode requires 3 identical dockers with some specific configuration details.
February 24, 20251 yr n8n Editor services: n8n_editor: image: n8nio/n8n:latest command: start ports: - "5678:5678" networks: - own-network environment: - N8N_ENCRYPTION_KEY=generate a key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=ip unraid. example: 192.168.1.250 - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_DB=3 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 deploy: mode: replicated replicas: 1 placement: constraints: - node.role == manager update_config: parallelism: 1 delay: 30s order: start-first failure_action: rollback networks: own-network: name: own-network external: true n8n Webhook services: n8n_webhook: image: n8nio/n8n:latest command: webhook ports: - "5676:5678" networks: - own-network environment: - N8N_ENCRYPTION_KEY=generate a key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=ip unraid. example: 192.168.1.250 - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_DB=3 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 deploy: mode: replicated replicas: 1 placement: constraints: - node.role == manager update_config: parallelism: 1 delay: 30s order: start-first failure_action: rollback networks: own-network: name: own-network external: true n8n Worker services: n8n_worker: image: n8nio/n8n:latest command: worker --concurrency=50 networks: - own-network environment: - N8N_ENCRYPTION_KEY=generate a key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=ip unraid. example: 192.168.1.250 - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_DB=3 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 deploy: mode: replicated replicas: 1 placement: constraints: - node.role == manager update_config: parallelism: 1 delay: 30s order: start-first failure_action: rollback networks: own-network name: own-network external: true Edited February 24, 20251 yr by Braulio Dias Ribeiro
February 24, 20251 yr we are going to consolidate your 3 dockers using into 1 docker compose... To consolidate your three separate Docker Compose configurations for n8n Editor, Webhook, and Worker into a single docker-compose.yml file, follow the steps below. This unified setup will streamline the deployment and management of your n8n services. 1. Prerequisites: Database: Ensure you have a PostgreSQL database set up, as n8n requires it for queue mode operations. Redis: Set up a Redis instance, which n8n uses for managing queues. Network: Define a Docker network to allow seamless communication between services. You need to either add a Postgres to the compose or point your environment variables to an existing Postgres database you create... -Same with redis... So I have added them for convince... They should all either have a custom static Ip or all be in teh same networking bridge to make sure they can talk to each other... 2. here is a Combined docker-compose.yml Configuration (it may need some tweaks and edits!) #version: '3.8' services: postgres: image: postgres:13 container_name: n8n_postgres environment: POSTGRES_DB: n8n_queue POSTGRES_USER: postgres POSTGRES_PASSWORD: pass volumes: - postgres_data:/var/lib/postgresql/data networks: - n8n_network redis: image: redis:6 container_name: n8n_redis command: ["redis-server", "--requirepass", "pass"] networks: - n8n_network n8n_editor: image: n8nio/n8n:latest container_name: n8n_editor command: n8n start ports: - "5678:5678" environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true networks: - n8n_network depends_on: - postgres - redis n8n_webhook: image: n8nio/n8n:latest container_name: n8n_webhook command: n8n webhook ports: - "5676:5678" environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true networks: - n8n_network depends_on: - postgres - redis n8n_worker: image: n8nio/n8n:latest container_name: n8n_worker command: n8n worker --concurrency=50 environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true networks: - n8n_network depends_on: - postgres - redis networks: n8n_network: driver: bridge volumes: postgres_data: driver: local driver_opts: type: none device: /mnt/user/appdata/n8n/postgres o: bind Key Enhancements in this Unified Setup: Volume Management: Uses driver_opts for Unraid's bind-mount format. Set device to /mnt/user/appdata/n8n/postgres, ensuring that PostgreSQL data persists in Unraid's appdata directory. Explicitly binds the volume to that directory instead of Docker's default volume storage. Makes a default docker Bridge Network (n8n_network) -Defined explicitly to manage communication between services and databases. set a Service Dependencies (depends_on) -Ensures postgres and redis start before n8n_editor, n8n_webhook, and n8n_worker. 3. Next Steps: Fix and docker variable to be correctly filled in examples Quote - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] *Update the N8N_ENCRYPTION_KEY with a strong generated key... Replace your_unraid_ip with the correct Unraid server IP... More doubles check networks and configurations... and things are talking to the correct ip/hostname... Make sure N8N_SMTP_USER and N8N_SMTP_PASS are correct if you need email notifications. etc...
March 4, 20251 yr WOW. Thank you very much for all of the work on this container. all of us really appreciate all of the work and support you do on this project. I am in the process of learning how to use Docker, so yes I am lost. I have tried server different things to get it working but I have not been able to, because I can not do most of what everyone is asking us to do because I do not understand it. I can get it installed but all I get when going to the webgui is connection refused. So I will wait until the container is updated to install everything, if it is even possible. I just want to make sure you know that you are very appreciated. If anyone would like to help me get this running on my UnRaid 7.0.0 Docker image. I can also pay to get it installed so I can use it. Edited March 5, 20251 yr by Yoda_1204
March 5, 20251 yr On 3/4/2025 at 3:23 PM, Yoda_1204 said: WOW. Thank you very much for all of the work on this container. all of us really appreciate all of the work and support you do on this project. I am in the process of learning how to use Docker, so yes I am lost. I have tried server different things to get it working but I have not been able to, because I can not do most of what everyone is asking us to do because I do not understand it. I can get it installed but all I get when going to the webgui is connection refused. So I will wait until the container is updated to install everything, if it is even possible. I just want to make sure you know that you are very appreciated. If anyone would like to help me get this running on my UnRaid 7.0.0 Docker image. I can also pay to get it installed so I can use it. 1) You need to install the Unraid plugin to download templates (dockers). https://forums.unraid.net/topic/38582-plug-in-community-applications After installing, it will appear as shown in the photo.
March 5, 20251 yr On 3/4/2025 at 3:23 PM, Yoda_1204 said: WOW. Thank you very much for all of the work on this container. all of us really appreciate all of the work and support you do on this project. I am in the process of learning how to use Docker, so yes I am lost. I have tried server different things to get it working but I have not been able to, because I can not do most of what everyone is asking us to do because I do not understand it. I can get it installed but all I get when going to the webgui is connection refused. So I will wait until the container is updated to install everything, if it is even possible. I just want to make sure you know that you are very appreciated. If anyone would like to help me get this running on my UnRaid 7.0.0 Docker image. I can also pay to get it installed so I can use it. 2) With the plugin from step 1 installed, a new menu will open in Unraid called "APPS", as shown in the photo. Search for the "Docker Compose Manager" template and install it.
March 5, 20251 yr On 3/4/2025 at 3:23 PM, Yoda_1204 said: WOW. Thank you very much for all of the work on this container. all of us really appreciate all of the work and support you do on this project. I am in the process of learning how to use Docker, so yes I am lost. I have tried server different things to get it working but I have not been able to, because I can not do most of what everyone is asking us to do because I do not understand it. I can get it installed but all I get when going to the webgui is connection refused. So I will wait until the container is updated to install everything, if it is even possible. I just want to make sure you know that you are very appreciated. If anyone would like to help me get this running on my UnRaid 7.0.0 Docker image. I can also pay to get it installed so I can use it. 3) With everything installed, go to the "Docker" tab and at the bottom of the page click on "ADD NEW STACK" Name it "N8n" and specify the appdata path "/mnt/user/appdata/n8n" Right click on the created stack and "Edit Stack" Compose File Copy and paste the stack and modify it with your data and "Save Changes" Click in "Compose UP" Congratulations
March 5, 20251 yr we can add labels to auto fill the ui stack and make icons and make "unraid pretty" Example netprobe: *each docker should have one... labels: net.unraid.docker.webui: http://[IP]:[PORT:3001] net.unraid.docker.icon: 'https://github.com/atribe/unRAID-docker/raw/master/icons/grafana.png' folder.view: netprobe_lite net.unraid.docker.managed: 'composeman' net.unraid.docker.shell: '/bin/sh' The label option: net.unraid.docker.webui: http://[IP]:[PORT:3001] *Sets the ui stack web ui so if the docker has a webpage admin interface wtc you can click the docker and open the web ui net.unraid.docker.icon: 'https://github.com/atribe/unRAID-docker/raw/master/icons/grafana.png' *Sets the icon to use int eh docker web UI no more "?" marks... folder.view: netprobe_lite *Asssit unraid and docker compses voluems and folders. in my case netprobe is located in /mnt/appdata/netprobe_lite this assist with calling netprobe_lite to afect all docker in there folder view... net.unraid.docker.managed: 'composeman' *Tells unraid that this is controled via the compose plugin and can assit with update avable and isseus with docker updates. net.unraid.docker.shell: '/bin/sh' *Not recomend to touch but soemtimes a debain vs alpine setting the shell to access bash vs term etc... so given that the volume and path is loated at /mnt/user/appdata/n8n/ One could add to the compose file... labels: #net.unraid.docker.webui: http://[IP]:[PORT:3001] net.unraid.docker.icon: 'https://styles.redditmedia.com/t5_36pcjp/styles/communityIcon_khoqe0zmcvje1.png' #'/mnt/appdata/pngorjpg or website' folder.view: n8n net.unraid.docker.managed: 'composeman' to each docker instance to auto fill the ui stack and make unraid pretty... and you can select the same icon across the worker/editor/etc... Example https://styles.redditmedia.com/t5_36pcjp/styles/communityIcon_khoqe0zmcvje1.png
March 5, 20251 yr #version: '3.8' services: postgres: image: postgres:13 container_name: n8n_postgres environment: POSTGRES_DB: n8n_queue POSTGRES_USER: postgres POSTGRES_PASSWORD: pass volumes: - postgres_data:/var/lib/postgresql/data networks: - n8n_network redis: image: redis:6 container_name: n8n_redis command: ["redis-server", "--requirepass", "pass"] networks: - n8n_network n8n_editor: image: n8nio/n8n:latest container_name: n8n_editor command: n8n start ports: - "5678:5678" environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true labels: #net.unraid.docker.webui: http://[IP]:[PORT:3001] net.unraid.docker.icon: 'https://styles.redditmedia.com/t5_36pcjp/styles/communityIcon_khoqe0zmcvje1.png' #'/mnt/appdata/pngorjpg or website' folder.view: n8n net.unraid.docker.managed: 'composeman' networks: - n8n_network depends_on: - postgres - redis n8n_webhook: image: n8nio/n8n:latest container_name: n8n_webhook command: n8n webhook ports: - "5676:5678" environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true labels: #net.unraid.docker.webui: http://[IP]:[PORT:3001] net.unraid.docker.icon: 'https://styles.redditmedia.com/t5_36pcjp/styles/communityIcon_khoqe0zmcvje1.png' #'/mnt/appdata/pngorjpg or website' folder.view: n8n net.unraid.docker.managed: 'composeman' networks: - n8n_network depends_on: - postgres - redis n8n_worker: image: n8nio/n8n:latest container_name: n8n_worker command: n8n worker --concurrency=50 environment: - N8N_ENCRYPTION_KEY=your_encryption_key - NODE_ENV=production - N8N_METRICS=true - N8N_DIAGNOSTICS_ENABLED=false - N8N_PAYLOAD_SIZE_MAX=16 - N8N_LOG_LEVEL=info - GENERIC_TIMEZONE=America/Sao_Paulo - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true - DB_TYPE=postgresdb - DB_POSTGRESDB_DATABASE=n8n_queue - DB_POSTGRESDB_HOST=postgres - DB_POSTGRESDB_PORT=5432 - DB_POSTGRESDB_USER=postgres - DB_POSTGRESDB_PASSWORD=pass - N8N_PORT=5678 - N8N_HOST=your_unraid_ip - N8N_EDITOR_BASE_URL=https://n8n.domain.com - N8N_PROTOCOL=https - WEBHOOK_URL=https://n8nwebhook.domain.com.br - N8N_ENDPOINT_WEBHOOK=webhook - EXECUTIONS_MODE=queue - QUEUE_BULL_REDIS_HOST=redis - QUEUE_BULL_REDIS_PORT=6379 - QUEUE_BULL_REDIS_PASSWORD=pass - EXECUTIONS_TIMEOUT=3600 - EXECUTIONS_TIMEOUT_MAX=7200 - N8N_VERSION_NOTIFICATIONS_ENABLED=true - N8N_PUBLIC_API_SWAGGERUI_DISABLED=false - N8N_TEMPLATES_ENABLED=true - N8N_ONBOARDING_FLOW_DISABLED=true - N8N_WORKFLOW_TAGS_DISABLED=false - N8N_HIDE_USAGE_PAGE=false - EXECUTIONS_DATA_PRUNE=true - EXECUTIONS_DATA_MAX_AGE=336 - EXECUTIONS_DATA_PRUNE_HARD_DELETE_INTERVAL=15 - EXECUTIONS_DATA_PRUNE_SOFT_DELETE_INTERVAL=60 - EXECUTIONS_DATA_PRUNE_MAX_COUNT=10000 - EXECUTIONS_DATA_SAVE_ON_ERROR=all - EXECUTIONS_DATA_SAVE_ON_SUCCESS=all - EXECUTIONS_DATA_SAVE_ON_PROGRESS=true - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true - NODE_FUNCTION_ALLOW_BUILTIN=* - NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash - N8N_COMMUNITY_PACKAGES_ENABLED=true - N8N_REINSTALL_MISSING_PACKAGES=true - N8N_SECURE_COOKIE=false - N8N_AI_ENABLED=false - N8N_AI_PROVIDER=openai - N8N_AI_OPENAI_API_KEY= - N8N_EMAIL_MODE=smtp - N8N_SMTP_HOST=smtp.gmail.com - N8N_SMTP_PORT=465 - [email protected] - N8N_SMTP_PASS=pass - [email protected] - N8N_SMTP_SSL=true labels: #net.unraid.docker.webui: http://[IP]:[PORT:3001] net.unraid.docker.icon: 'https://styles.redditmedia.com/t5_36pcjp/styles/communityIcon_khoqe0zmcvje1.png' #'/mnt/appdata/pngorjpg or website' folder.view: n8n net.unraid.docker.managed: 'composeman' networks: - n8n_network depends_on: - postgres - redis networks: n8n_network: driver: bridge volumes: postgres_data: driver: local driver_opts: type: none device: /mnt/user/appdata/n8n/postgres o: bind as example
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.