161
apps/n8n/1.86.0/data.yml
Normal file
161
apps/n8n/1.86.0/data.yml
Normal file
@@ -0,0 +1,161 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_POSTGRES_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: postgresql
|
||||
envKey: PANEL_POSTGRES_TYPE
|
||||
labelZh: Postgres 服务 (前置检查)
|
||||
labelEn: Postgres Service (Pre-check)
|
||||
required: false
|
||||
type: apps
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- default: "/home/n8n"
|
||||
edit: true
|
||||
envKey: N8N_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 5678
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "http://127.0.0.1:5678"
|
||||
edit: true
|
||||
envKey: N8N_EDITOR_BASE_URL
|
||||
labelZh: 编辑器基础URL
|
||||
labelEn: Editor Base URL
|
||||
required: true
|
||||
type: text
|
||||
- default: "postgresdb"
|
||||
edit: true
|
||||
envKey: DB_TYPE
|
||||
labelZh: 数据库类型
|
||||
labelEn: Database type
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: "postgresdb"
|
||||
- label: Sqlite
|
||||
value: "sqlite"
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: DB_POSTGRESDB_HOST
|
||||
labelZh: 数据库 主机地址
|
||||
labelEn: Database Host
|
||||
required: false
|
||||
type: text
|
||||
- default: 5432
|
||||
edit: true
|
||||
envKey: DB_POSTGRESDB_PORT
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: false
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "n8n"
|
||||
edit: true
|
||||
envKey: DB_POSTGRESDB_DATABASE
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: false
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "n8n"
|
||||
edit: true
|
||||
envKey: DB_POSTGRESDB_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DB_POSTGRESDB_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: N8N_DISABLE_UI
|
||||
labelZh: 禁用UI
|
||||
labelEn: Disable UI
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "true"
|
||||
- label: 启用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: N8N_PREVIEW_MODE
|
||||
labelZh: 预览模式
|
||||
labelEn: Preview Mode
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: N8N_TEMPLATES_ENABLED
|
||||
labelZh: 工作流模板
|
||||
labelEn: Workflow Templates
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: N8N_PERSONALIZATION_ENABLED
|
||||
labelZh: 个性化问题询问
|
||||
labelEn: Personalization Question
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: N8N_PUBLIC_API_SWAGGERUI_DISABLED
|
||||
labelZh: 禁用API文档
|
||||
labelEn: Disable API Documentation
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "true"
|
||||
- label: 启用
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: N8N_PUBLIC_API_DISABLED
|
||||
labelZh: 禁用公共API
|
||||
labelEn: Disable Public API
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 禁用
|
||||
value: "true"
|
||||
- label: 启用
|
||||
value: "false"
|
||||
26
apps/n8n/1.86.0/docker-compose.yml
Normal file
26
apps/n8n/1.86.0/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
n8n:
|
||||
image: n8nio/n8n:1.86.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:5678
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${N8N_ROOT_PATH}/data:/home/node/.n8n
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- N8N_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=http
|
||||
- N8N_DIAGNOSTICS_ENABLED=false
|
||||
2
apps/n8n/1.86.0/envs/default.env
Normal file
2
apps/n8n/1.86.0/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/n8n/1.86.0/envs/global.env
Normal file
2
apps/n8n/1.86.0/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
17
apps/n8n/1.86.0/scripts/init.sh
Normal file
17
apps/n8n/1.86.0/scripts/init.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/n8n/1.86.0/scripts/uninstall.sh
Normal file
10
apps/n8n/1.86.0/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
17
apps/n8n/1.86.0/scripts/upgrade.sh
Normal file
17
apps/n8n/1.86.0/scripts/upgrade.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
42
apps/n8n/README.md
Normal file
42
apps/n8n/README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# n8n
|
||||
|
||||
为技术团队提供安全的工作流自动化
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
灵活的 AI 工作流程自动化
|
||||
|
||||
### 对于技术团队
|
||||
|
||||
以代码的精确度或拖放的速度进行构建。通过本地控制或云端便利进行托管。n8n 比任何其他工具都更能让您自由地实现多步骤 AI
|
||||
代理和集成应用程序。
|
||||
|
||||
## 特性
|
||||
|
||||
### 需要时编写代码
|
||||
|
||||
编写 JavaScript/Python、添加 npm 包或使用可视化界面
|
||||
|
||||
### AI-Native 平台
|
||||
|
||||
使用您自己的数据和模型,基于 LangChain 构建 AI 代理工作流程
|
||||
|
||||
### 完全控制
|
||||
|
||||
使用我们的公平代码许可证自行托管或使用我们的云产品
|
||||
|
||||
### 企业就绪
|
||||
|
||||
高级权限、SSO 和隔离部署
|
||||
|
||||
### 活跃社区
|
||||
|
||||
400 多个集成和 900 多个可立即使用的模板
|
||||
|
||||
---
|
||||
|
||||

|
||||
14
apps/n8n/data.yml
Normal file
14
apps/n8n/data.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: n8n
|
||||
name: n8n
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 为技术团队提供安全的工作流自动化
|
||||
shortDescEn: Secure Workflow Automation for Technical Teams
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://n8n.io/
|
||||
github: https://github.com/n8n-io/n8n/
|
||||
document: https://docs.n8n.io/
|
||||
BIN
apps/n8n/logo.png
Normal file
BIN
apps/n8n/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user