mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-15 17:16:45 +00:00
33 lines
1020 B
TOML
33 lines
1020 B
TOML
[phases.setup]
|
|
nixPkgs = ["nodejs_22", "openssl", "chromium", "python3", "python3Packages.pip"]
|
|
aptPkgs = ["ffmpeg", "libnss3", "libatk1.0-0", "libatk-bridge2.0-0", "libcups2", "libgbm1", "libasound2t64", "libpangocairo-1.0-0", "libxss1", "libgtk-3-0", "libxshmfence1", "libglu1"]
|
|
|
|
[phases.install]
|
|
cmds = [
|
|
"npm install -g corepack@latest && corepack enable",
|
|
"pnpm i --frozen-lockfile",
|
|
"pip3 install --break-system-packages yt-dlp",
|
|
"export PATH=/usr/bin:/bin:$PATH"
|
|
]
|
|
|
|
[phases.build]
|
|
cmds = ["npx turbo run build"]
|
|
|
|
[phases.post-build]
|
|
cmds = [
|
|
"which ffmpeg || echo 'ffmpeg not found in PATH'",
|
|
"ffmpeg -version || echo 'ffmpeg command failed'"
|
|
]
|
|
|
|
[start]
|
|
cmd = "pnpm --filter=n8n start"
|
|
|
|
[variables]
|
|
N8N_HOST = "0.0.0.0"
|
|
N8N_PORT = "5678"
|
|
NODE_ENV = "production"
|
|
N8N_RUNNERS_ENABLED = "true"
|
|
N8N_RUNNERS_INSECURE_MODE = "true"
|
|
NODE_FUNCTION_ALLOW_BUILTIN = "crypto"
|
|
NODE_FUNCTION_ALLOW_EXTERNAL = "ytdl-core,youtube-dl-exec,yt-search,ytsr,moment"
|
|
PATH = "/usr/bin:/bin:/usr/local/bin:$PATH" |