From 92490d1b61be0064257c26f660e3f8acc926439e Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 24 Dec 2024 06:17:50 -0500 Subject: [PATCH 1/2] Removing Huginn and adding n8n. --- docker-compose.yml | 69 +++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 43 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 08db9c9f..965b7299 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1735,49 +1735,6 @@ services: target: /var/www/html/app/migrations type: volume volume: {} - huginn: - container_name: huginn - environment: - HUGINN_DATABASE_HOST: mariadb - HUGINN_DATABASE_NAME: huginn - HUGINN_DATABASE_PASSWORD: MLbKPT3j9TYcguYevFRcfEcrXtL4kcxujtrNdrq9eCig4WhUbxkyLoAiCPpm4zob - HUGINN_DATABASE_PORT: "3306" - HUGINN_DATABASE_USERNAME: huginn - PGID: "1000" - PUID: "1000" - TZ: America/New_York - hostname: Rinoa - image: ghcr.io/huginn/huginn - labels: - - homepage.group=Automation - - homepage.name=Huginn - - homepage.href=https://huginn.${MY_TLD} - - homepage.icon=huginn - - homepage.description=Agent/Web Automation - - swag=enable - - swag_port=3000 - - swag_proto=http - - swag.uptime-kuma.enabled=true - networks: - default: null - ports: - - mode: ingress - protocol: tcp - published: "3005" - target: 3000 - restart: unless-stopped - volumes: - - bind: - create_host_path: true - read_only: true - source: /etc/localtime - target: /etc/localtime - type: bind - - bind: - create_host_path: true - source: /rinoa-storage - target: /storage - type: bind hugo: command: hugo server --baseURL "it-services.trez.wtf" --bind 0.0.0.0 --appendPort=false --source=/src/it-services --configDir=/src/it-services/config/ -e production --logLevel debug container_name: hugo @@ -3269,6 +3226,32 @@ services: type: bind bind: create_host_path: true + n8n: + image: docker.n8n.io/n8nio/n8n + restart: always + ports: + - 5678:5678 + labels: + swag: enable + swag_proto: https + swag_port: 5678 + swag_url: n8n.${MY_TLD} + swag.uptime-kuma.enabled: true + swag.uptime-kuma.monitor.url: https://n8n.${MY_TLD} + homepage.group: System Administration + homepage.name: MinIO + homepage.href: https://n8n.${MY_TLD} + homepage.icon: n8n.svg + homepage.description: Extendable workflow automation tool to easily automate tasks + environment: + N8N_HOST: n8n.${MY_TLD} + N8N_PORT: 5678 + N8N_PROTOCOL: https + NODE_ENV: production + WEBHOOK_URL: https://n8n.${MY_TLD}/ + GENERIC_TIMEZONE: ${TZ} + volumes: + - n8n_data:/home/node/.n8n navidrome: container_name: navidrome environment: From 4ef218ab39b15c296c8d91f1c189bbffbb1d8593 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 24 Dec 2024 06:38:14 -0500 Subject: [PATCH 2/2] Fixes for n8n service. --- docker-compose.yml | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 965b7299..382d571e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3227,22 +3227,7 @@ services: bind: create_host_path: true n8n: - image: docker.n8n.io/n8nio/n8n - restart: always - ports: - - 5678:5678 - labels: - swag: enable - swag_proto: https - swag_port: 5678 - swag_url: n8n.${MY_TLD} - swag.uptime-kuma.enabled: true - swag.uptime-kuma.monitor.url: https://n8n.${MY_TLD} - homepage.group: System Administration - homepage.name: MinIO - homepage.href: https://n8n.${MY_TLD} - homepage.icon: n8n.svg - homepage.description: Extendable workflow automation tool to easily automate tasks + container_name: n8n environment: N8N_HOST: n8n.${MY_TLD} N8N_PORT: 5678 @@ -3250,8 +3235,24 @@ services: NODE_ENV: production WEBHOOK_URL: https://n8n.${MY_TLD}/ GENERIC_TIMEZONE: ${TZ} + image: docker.n8n.io/n8nio/n8n + labels: + swag: enable + swag_proto: https + swag_port: 5678 + swag_url: n8n.${MY_TLD} + swag.uptime-kuma.enabled: true + swag.uptime-kuma.monitor.url: https://n8n.${MY_TLD} + homepage.group: Automation + homepage.name: n8n + homepage.href: https://n8n.${MY_TLD} + homepage.icon: n8n.svg + homepage.description: Extendable workflow automation tool to easily automate tasks + ports: + - 5678:5678 + restart: unless-stopped volumes: - - n8n_data:/home/node/.n8n + - n8n-data:/home/node/.n8n navidrome: container_name: navidrome environment: @@ -7069,6 +7070,8 @@ volumes: name: compose_mongo1_config mongodb_data: name: compose_mongo1_data + n8n-data: + name: n8n-data netbox-pg-db: name: netbox-pg-db ollama: