Commit graph

169 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ aec2489aef
fix(docker): n8n docker image needs su-exec (#3993) 2022-09-01 09:48:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ 34a99fd089
fix(docker): Revert docker USER and WORKDIR changes (#3992)
Switching from `root` to another user needs a bit more testing, as we need to figure out how to auto-migrate all existing instances of n8n when people upgrade.
2022-09-01 09:40:35 +02:00
कारतोफ्फेलस्क्रिप्ट™ 346ebee584
fix(docker): Make the docker images backward compatible (#3987) 2022-08-31 19:34:30 +02:00
कारतोफ्फेलस्क्रिप्ट™ 398adb23e8
feat(docker): reduce the size of alpine docker images (#3973)
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies

Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
Iván Ovejero 11617616cd
refactor: Format root-level files (#3858)
*  Create `format.mjs` script

* 👕 Add lint exception

*  Add root formatting to `format` command

* 🎨 Fix glob in `.prettierignore`

* 🚚 Improve naming

* 🎨 Format root-level files

*  Simplify check

*  Add period to extension

*  Locate config

*  Add `ignore` arg

* 🚚 Move `config` and `ignore` after check
2022-08-19 15:34:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ e53d5d9cc1
[N8N-4265] Improve docker compose setup with postgres (#3369)
* persist postgres data using docker volumes

* persist n8n data using docker volumes instead of writing to the host filesystem

* wait for postgres to be actually ready before starting the server

* run web server and workers as separate containers

* create a new `withPostgresAndWorker` example
2022-08-19 12:44:34 +02:00
कारतोफ्फेलस्क्रिप्ट™ c1451d2688
build: Prevent non-hoisted dependencies from breaking docker images (#3852) 2022-08-08 18:37:08 +02:00
Alex Grozav a9fa830bd7
build: Migrate from lerna to turborepo (#3796)
* feat: Added turborepo setup.

* feat: Updated nodes and credentials loading.

* feat: Removed remaining lerna references.

* fix: Updated npm run bootstrap command.

* feat: Added CI step for installing latest npm.

* chore: Removed lerna config.

* feat: Added gulp to global ci packages.

* fix: Set node as moduleResolution target in workflow. Fixed CI.

* fix: Added turborepo installation to the n8n-custom docker image.

* fix: Updated copied docker files for n8n-custom.

* fix: Added git as dependency in n8n-custom dockerfile.

* fix: Changed npm install command in n8n-custom.

* 📦 Update `package-lock.json`

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser b22ff1f5c1 refactor: Update additional README.md files 2022-08-03 13:34:49 +02:00
Cornelius Suermann 2f82caa8cc
build: Add docker-compose for MariaDB
Add Docker Compose example for MariaDB
2022-08-01 14:07:04 +02:00
Jan Oberhauser ace49ef535 build: Use package-lock.json file with custom build 2022-07-29 15:14:33 +02:00
कारतोफ्फेलस्क्रिप्ट™ bdfa401de2 Add Docker Compose example for MariaDB 2022-07-18 15:19:34 +02:00
Jan Oberhauser 44b64fb683 docs: Update Docker README.md 2022-06-20 17:09:09 -07:00
Jan Oberhauser 061e36e8ab build: Fix docker custom build 2022-05-21 09:42:12 +02:00
Jan Oberhauser 8ccb4f6eca 📚 Remove screenshot width 2022-05-17 10:54:13 +02:00
Jan Oberhauser c43fc4e978 📚 Update n8n video and formatting 2022-05-17 10:46:06 +02:00
Jan Oberhauser 521cf51e7c 📜 Change to the Sustainable Use License #2932 2022-03-17 10:15:24 +01:00
Jan Oberhauser c11edb2521 🐳 Fix arm builds 2022-03-08 09:38:53 +01:00
Jan Oberhauser c45ab96559 🐳 Update Node.js versions of Docker images to 16 2022-03-04 14:46:00 +01:00
Jan Oberhauser f1b9bb914c Roll back for now to Node.js v14 2022-02-06 11:01:09 +01:00
Iván Ovejero fc550ecbcb
Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Jan Oberhauser 9b405707e2 🐛 Fix docker custom build 2021-11-27 10:44:14 +01:00
Mutasem Aldmour 91bafb4860
Commit package lock (#2470) 2021-11-25 18:12:38 +01:00
Max Mayr c6fec12bec
🐛 Fix permission issue with custom images (#2355) 2021-11-13 11:06:16 +01:00
Mutasem Aldmour 5bd8f7c93e
Implement design system (#2050)
* split up main, sass imports, import new nds

* migrate most buttons

* update sizes based on feedback

* update copy buttons

* update executions list

* fix issues

* force message box buttons

* update warning color

* update more buttons

* wrap message box buttons

* update last component

* lint fixes

* add build report step

* breakout imports

* set package.json

* fix notification bug

* clean up imports

* use build directories directly

* update imports

* remove xl size

* update number inputs

* fix input width

* update line height, fix icon bug

* fix up editor

* fix spacing between buttons

* Reset line height

* revert changes to this

* revert changes

* clean up button sizes

* change to outline

* update select height

* update tooltip

* remove build report step

* clean up impl

* remove regenerator runtime

* add design system repo

* apply editorconfig

* apply editor config prettier

* lint issue

* switch to tabs

* switch to single space

* update eslintrc

* remove git modules

* update sass package

* support dart sass

* add build

* update dependency

* update contributing.md

* set repo

* update versions

* add tslint step

* update spacing to spaces, add dev step

* add test step

* add test step

* update browser lint rc

* remove .github

* delete .gitignore

* set comment for icons

* remove preview link

* update button interface

* update types

* set types

* clean up intro

* update intro

* remove assets

* move into preview

* remove headline comment

* reduce theme build

* loading executions

* match deps versions

* match deps versions

* fix lint issues

* fix lint issues

* update callback

* disable codacy for docs.css

* fix storybook issues

* add design system to docker image

* update spacing around delete sort button

* set line height to stop juggling headline

* update sizes

* clean up vars

* fix scss issues

* update button vars

* add shade color

* fix button without click

* fix buttons bug

* fix bug with executions list

* clean up theme

* update link styling

* fix typo

* run prettier

* 🎨 code format

* 🎨 code format

* 🔥 remove empty files

*  N8n 2284 new inputs (#2075)

* implement inputs

* prettier fixes

* revert unnessary change

* move input components and tooltip

* remove form elements

* move select

* update input placements

* update sizes

* update credentails

* clean up select size

* fix caret issue

* update inputs

* clean up select

* fix tags dropdown border

* clean up tags input

* fix workflow name bug

* clean up select here

* add sizes template

* fix option caret

* fix input sizes

* update date input size

* remove tags input override

* update prop

* update input size

* center run data inputs

* update disabled colors

* update execution header

* update scrollbar

* update text area spacing

* fix items in header

* update run data tooltip

* remove popover

* update prefix positions

* add filterable demo

* address design issues

* fix input issues, flip boolean input to text

* update input sufffix colors

* remove override

* speed up switch, fix toggle spacing issue

* update icon

* remove icon classes

* clean up inputs

* clean up inputs with icons

* update input spacing again

* update suffix position

* build

* Add support for xlarge inputs

* fix input issues

* fix input issue

* update listeners

* update number inputs for settings

* update append/prepend spacing

* clean up inputs, set expression input as text

* fix type errors

* fix workflow number input

* fix tags dropdown bug

* fix bugs

* fix menu item bug

* remove font weight from link element

* remove default

* fix select option

* fix contrast issues

* allow overflow x for multi selects

* fix icon

* update options select

* fix issue that resolves expression to null

* update how actions are centered

* fix up selects

* update selects to support limiting size

* update option styles

*  Apply suggestions BHesseldieck

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>

* 🎨 code format

Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

*  Revert "🔥 remove empty files"

This reverts commit e91ace4e52.

*  Remove private from n8n-design-system package

* 🎨 Change to spaces to stay consistent with editorconfig & others
package files

*  Fix year in license

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-29 13:36:17 +02:00
Carlos Alexandro Becker a49624a17c
🐳 Improve docker images (#1625)
* feat: docker images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: workflow

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* cleanup to reduce image size

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-06-18 22:54:37 +02:00
Jan Oberhauser 7ed616c7ef 🔀 Merge branch 'images' of https://github.com/caarlos0/n8n into caarlos0-images 2021-06-17 14:36:02 +02:00
Jan 3667b0dd01
Add Git node (#1820)
*  Add Git-Node

* 👕 Fix lint issue

* 🎨 add git icon

*  Fix indentation in package.json files

*  Add support for pushTags

*  Add support for addConfig, fetch, listConfig and status

*  Add support for clone

*  Remove not needed code

*  Add proper continueOnFail support & alphabetize options

* 🐛 Remove console.log

*  Improve Git Node

*  Improve Git Node

* 🐳 Add git to Docker images

*  Auto create folder if not exists and clarify addConfig mode

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-06-05 15:43:54 -05:00
Jan Oberhauser 1d13f7d46c 📚 Change example docker command to persist data 2021-05-09 17:56:57 -05:00
Jan Oberhauser e3ab0b8679 📚 Fix job link 2021-05-09 17:55:27 -05:00
Carlos Alexandro Becker 4d3ff091aa feat: docker images
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 09:21:58 -03:00
mjysci 2753566e0a
🐛 Fix rpi docker image permission issue (#1587) 2021-03-26 12:16:53 +01:00
mjysci 1a2b3dfbdc
🐛 Fix rpi docker image permission issue (#1293) 2021-03-25 15:19:16 +01:00
Omar Ajoue e53efdd337
Separate webhooks from core (#1408)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

* Added webhooks service and setting to disable webhooks from main process

* Fixed executions list when running with queues. Now we get the list of actively running workflows from bull.

* Add option to disable deregistration of webhooks on shutdown

* Rename WEBHOOK_TUNNEL_URL to WEBHOOK_URL keeping backwards compat.

* Added auto refresh to executions list

* Improvements to workflow stop process when running with queues

* Refactor queue system to use a singleton and avoid code duplication

* Improve comments and remove unnecessary commits

* Remove console.log from vue file

* Blocking webhook process to run without queues

* Handling execution stop graciously when possible

* Removing initialization of all workflows from webhook process

* Refactoring code to remove code duplication for job stop

* Improved execution list to be more fluid and less intrusive

* Fixing workflow name for current executions when auto updating

*  Right align autorefresh checkbox

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 23:32:40 +01:00
Jan Oberhauser 10a377a599 🐳 Update Node.js versions of Docker images to 14 2021-02-06 17:52:56 +01:00
Jan Oberhauser 6ffab9860c Remove not needed file 2021-02-04 10:52:35 +01:00
Jan b33a5fcd13
💥 Remove MongoDB support 2021-01-23 20:35:38 +01:00
Ben Hesseldieck d395498882
Add support for webhook route parameters (#1343)
* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

*  Fix issue that tab-title did not get reset on new workflow

* Revert " Fix issue that tab-title did not get reset on new workflow"

This reverts commit 699d0a8946.

* 🔧 reset params before extraction

* 🐘 removing unique constraint for webhookId

* 🚧 handle multiple webhooks per id

* 🔧 enable webhook-test for multiple WH with same id

* 🐘 add migration for postgres

*  add mysql migration

* 🎨 fix lint issue

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-23 20:00:32 +01:00
Wilmar den Ouden 9496505232
📚 Add MySQL database option to intro (#1006) 2021-01-14 19:44:15 +01:00
LuPa 4a98fe48a9
🐛 Solve permission issue #1240 (#1262) 2020-12-19 23:04:20 +01:00
Jan 63452e7878
Add uProc Node (#1263)
* + adding new uProc integration

* + capitalize tool name
+ fix parameter display name
+ add placeholders for parameter
+ add tool description
+ optimize generated .ts for groups and tools

* + remove old functions

* + added new tools

* + add new tools + fix Info on tool

* + fixed Info

* + fix tools description

* + add UProc node to package.json

* + added new tools

* + added new tools

* + fix tool description

* + fix CamelCase subtitle
+ fix node displayName
+ add new tools

* + fix info link

* + add start, data and end callbacks to decouple response

* + added new tools

* + change display name on selected

* + added new tools

* + added new tools

* + added new tools

* + added new tools

* + remove old folder + fix param

* + added new tools

*  Some improvements to uproc Node

* 🐛 Fix docker image naming #1250

Co-authored-by: Miquel Colomer <mcolomer@gmail.com>
2020-12-19 18:22:41 +01:00
Mathieu Ledru 53a97cc27b
🎨 update wordings to distinct distribution model to it's license (#1220) 2020-12-15 10:50:52 +01:00
Jan Oberhauser 5e56dcb037 📚 Extend PI docker README to include mount example 2020-12-12 22:53:13 +01:00
Jan Oberhauser e8f53effb4 📚 Fix and unify number of nodes 2020-12-10 08:44:06 +01:00
Jan Oberhauser d3fd88c3eb 🐛 Fix docker user mount path #1233 2020-12-06 19:45:58 +01:00
Jan Oberhauser 7669488179 Remove not needed variable from Docker subfolder example 2020-12-05 11:16:20 +01:00
Jan Oberhauser 19e2eeadcd 🐳 Add fonts to alpine based docker images 2020-11-18 21:24:51 +01:00
Jan Oberhauser 134c49dfd8 🐳 Update Node.js versions of Docker images 2020-10-26 11:03:40 +01:00
Jan Oberhauser 6064aa1a5a Remove docker-compose exmple as support will be removed #962 2020-09-20 13:22:17 +02:00
Tanay Pant f5c8fbe953 🔨 Fix pronunciation guide 2020-08-24 10:50:37 +02:00
Jan Oberhauser 9499ca2fe1 🐛 Fix protocol for subfolder docker example 2020-08-09 20:06:00 +02:00
Jan Oberhauser 6e06da99fb Update job website URL 2020-07-27 11:43:28 +02:00
Jan Oberhauser 941ee06b14 Make n8n work in subfolder & Fix events in AffinityTrigger 2020-07-12 12:17:01 +02:00
Jan Oberhauser 305894d9b4 🐛 Fix item display issue 2020-07-10 10:12:30 +02:00
Tanay Pant bafc1fc45c 🐛 Fix broken images 2020-07-08 12:38:25 +02:00
Jan Oberhauser b4b65bb906 🐳 Build Raspberry Pi Docker image correctly 2020-07-05 19:22:25 +02:00
Jan Oberhauser 559afb488b 🐳 Add Raspberry Pi Docker image 2020-07-05 19:18:01 +02:00
Jan Oberhauser 95068aa132 🐳 Expose port in dockerfile 2020-06-30 16:55:17 +02:00
Jan Oberhauser ff62470c73 🐳 Improve docker script for custom image 2020-05-27 13:57:39 +02:00
Jan Oberhauser 0091f53114 Fix typo 2020-05-26 23:29:45 +02:00
Tin.cr 8b23bbb0a9
📚 Update docker readme for updating n8n (#594)
Based on https://community.n8n.io/t/how-to-upgrade-n8n-with-docker-compose-setup/660/2
2020-05-26 23:28:00 +02:00
Jan Oberhauser 24081d697b 🐳 Add Dockerfile to create image with local code 2020-05-15 09:31:55 +02:00
Frane Bandov b6b63ed48b Add full-icu to Dockerfiles 2020-03-26 18:05:23 +01:00
Istvan Richter a041e60a1f Add missed docs for custom Postgres schema support 2020-03-18 06:45:44 +01:00
Istvan Richter 31a2138f92 Add custom Postgres schema support 2020-03-18 06:26:33 +01:00
Jan Oberhauser d1fff0e45e 🐳 Update ubuntu image to use node version 12 2020-03-10 19:44:17 +01:00
Jan Oberhauser 1dc8714a80 📚 Add fair-code references 2020-03-08 22:17:23 +01:00
Jan Oberhauser bd7b23da59 📚 Improve documentation 2020-02-21 08:16:51 +01:00
Jan Oberhauser 9996020bea 📚 Add links to job board 2020-02-13 22:57:37 -08:00
Jan Oberhauser 09309c6602 🐳 Fix docker images with custom commands #309 2020-02-13 20:08:42 -08:00
Jan Oberhauser 92445082fd Small additions to MySQL support 2020-02-11 21:26:43 -08:00
Jan Oberhauser 2238651fcd 🐛 Fix docker run with tunnel 2020-02-07 23:48:05 -08:00
Michael Hirschler fb1424cd4e uses non-root user 2020-02-05 21:28:47 +01:00
Jan Oberhauser 6336adec8b 📚 Update node count in README.md files 2020-01-26 00:17:48 -08:00
Jan Oberhauser 6b2dc25059 🐛 Fix errors with unknown nodeTypes 2020-01-04 22:51:54 -06:00
Jan Oberhauser 7707312715 🐳 Add Ubuntu Docker Image 2020-01-02 13:59:55 -06:00
Jan Oberhauser 7dba3eed99 📚 Change wording 2020-01-01 15:40:37 -06:00
Jan Oberhauser fcb4f8554c 📚 Add links to example docker-compose setup 2019-11-07 21:05:34 +01:00
Jan Oberhauser 33fad1dc06 📚 Improve documentation 2019-10-29 09:42:51 +01:00
Jan Oberhauser 1b076a4763 🐳 Set n8n and system timezone separately 2019-10-29 08:27:26 +01:00
Sebastian 0e005675cc
Added ca-tools to be able to configure certs from /etc/ssl/certs 2019-10-28 09:43:27 +01:00
Sebastian 83f3363846
Bumping Node version 2019-10-28 09:42:28 +01:00
Alexandre Nizoux 97ba03e8b4 docker-entrypoint.sh MUST be executable for the container to start correctly 2019-10-26 15:32:10 +02:00
Alexandre Nizoux d7775aa8ed
Double quotes to calm code autoreview
Should now pass green on code review :)
2019-10-26 13:42:22 +02:00
Alexandre Nizoux cc97cc7b71
added docker-entrypoint.sh
Just setting timezone for system tools (`date` and others) to match app timezone defined with GENERIC_TIMEZONE env var.
2019-10-26 13:38:46 +02:00
Alexandre Nizoux 8861cb17c8
Added entrypoint
Setting up TZ and GENERIC_TIMEZONE env vars required to use an entrypoint script
2019-10-26 13:36:15 +02:00
Alexandre Nizoux de3859bbf6
Add container timezone handling
Allows to change the timezone with the TZ env variable, useful for cron tasks and other things.
2019-10-25 08:34:42 +02:00
Jan Oberhauser c09fd103b3 📚 Fixed some spelling errors in README.md (thanks @BradyBromley) 2019-10-13 22:46:10 +02:00
Werner Smit d2b1d7fe6e
Use env variable MONGO_NON_ROOT_USERNAME
MONGO_NON_ROOT_USERNAME specified in .env, but hardcoded n8nuser value used.
2019-10-12 13:50:37 +02:00
Bastian Rang 98674d74e2
fixed typo 2019-10-10 10:22:01 +02:00
Jan Oberhauser 39e2613841 📚 Add link to node-list also to other README files 2019-10-05 19:19:01 +02:00
Jan Oberhauser d589e8a909 📚 Add link to FAQ to license information 2019-10-04 20:40:23 +02:00
Jan Oberhauser 9615542ff8 🐳 Add login to example docker-compose setup 2019-09-26 16:12:04 +02:00
Jan Oberhauser a5b5b60a57 📚 Add n8n documentation page 2019-09-22 18:29:03 +02:00
Jan Oberhauser bcc3ab263b 📚 Add link to community forum 2019-09-09 21:46:42 +02:00
Jan Oberhauser 3720291046 📚 Link to new YouTube video 2019-09-06 08:30:30 +02:00
Jan Oberhauser 904ecc31e3 📚 Add upgrade information also to Docker readme 2019-09-04 19:10:59 +02:00
Jan Oberhauser dfb52a51ef 📚 Add warning about using Mongo as database 2019-09-04 18:37:20 +02:00
Jan Oberhauser d53ab0bb6e Remove no longer needed restriction about process id 1 2019-09-03 13:42:43 +02:00
Jan Oberhauser c85b77d3af 📚 Small fix in sensitive data documentation 2019-09-02 07:26:48 +02:00