170 Commits

Author SHA1 Message Date
Jon
2a8f1753e8 docs: Fix links to license files in readme (no-changelog) (#10257) 2024-08-06 15:21:57 +01:00
कारतोफ्फेलस्क्रिप्ट™
9c4e67111c ci: Add opencontainer image spec labels to the release Dockerfile (no-changelog) (#9822)
Co-authored-by: Nikolai T. Jensen <32718507+ch0wm3in@users.noreply.github.com>
2024-06-20 19:29:18 +02:00
कारतोफ्फेलस्क्रिप्ट™
6ea8607716 ci: Switch to Node.js 20 by default. Add initial support for Node.js 22 (#9501) 2024-05-24 12:32:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
6059722fbf feat(core): Allow using a custom certificates in docker containers (#8705)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-05-14 17:20:21 +02:00
Jon
3fbcbce362 docs: Update link to postgres example (#9244) 2024-04-29 11:22:50 +02:00
Jon
1e750c26b7 docs: Update docker readme (#8752) 2024-02-27 15:34:16 +00:00
कारतोफ्फेलस्क्रिप्ट™
e1a4fde207 fix(core): Define SHELL env variable on docker images (#8670) 2024-02-19 11:50:20 +01:00
कारतोफ्फेलस्क्रिप्ट™
4f3de9ab3c ci: Skip running postInstall scripts for all packages except sqlite3 (no-changelog) (#8514) 2024-01-31 17:27:46 +01:00
कारतोफ्फेलस्क्रिप्ट™
1db35c18e9 refactor(core): Rebuild docker infrastructure (#8451) 2024-01-26 13:18:49 +01:00
कारतोफ्फेलस्क्रिप्ट™
c158ca2471 refactor(core): Upgrade more dependencies to remove axios 0.x (no-changelog) (#8105)
Had to [fork localtunnel](https://github.com/n8n-io/localtunnel) to get
the axios upgrade, since localtunnel doesn't seem to be actively maintained.
2023-12-22 11:39:20 +01:00
Benjamin Loison
61129863f1 docs: Replace http://faircode.io to https://faircode.io in .md files (#7908)
## Summary

Commit generated with:

```bash
grep -rl 'http://faircode.io' --include=*.md . | xargs sed -i 's/http:\/\/faircode.io/https:\/\/faircode.io/g'
```

## Review / Merge checklist
- [X] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
2023-12-12 15:23:22 +00:00
oleg
e4ae11c2ad fix: Remove Tensorflow embeddings node (no-changelog) (#7922)
## Summary
This PR removes `embeddingsTensorFlow` node and reverts our fix to
accommodate the Docker build in #7893 .
The node itself has been extracted as a [community node available from
npm](https://www.npmjs.com/package/n8n-nodes-tensorflow)

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-04 17:48:10 +01:00
oleg
bcd04981ef ci: Fix Docker build and use multi-step approach (no-changelog) (#7893)
Due to new dependencies released in `1.19`, the docker build is failing
due to missing build dependencie. To get around this, we split the build
into two phases. In the building phase, we install the build
dependencies required to compile new module bindings and copy the result
in the second phase.

Github issue / Community forum post (link here to close automatically):

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-01 12:58:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
054c4bacd5 ci: Fix docker build for release process (no-changelog) 2023-11-29 15:54:36 +01:00
कारतोफ्फेलस्क्रिप्ट™
d5762a7539 ci: Fix docker builds for releases (#7865) 2023-11-29 15:25:50 +01:00
Kamil Essekkat
bd5ea455e1 docs: Mention UID in the docker examples (#7281) 2023-10-13 11:56:43 +01:00
कारतोफ्फेलस्क्रिप्ट™
101255d186 ci: Make builds release-channel aware. Add support for scheduled beta builds (#7323)
ADO-1121

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-10-03 20:49:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
1b4247498b ci: Trim FE package.json files before publishing (no-changelog) 2023-08-31 14:45:44 +02:00
Iván Ovejero
7ce5d8fd90 refactor: Upgrade to Prettier 3 (no-changelog) (#6947)
Supersedes https://github.com/n8n-io/n8n/pull/6937

Excluding fixtures and test workflow JSONs to avoid having to update
tests.
2023-08-16 17:13:57 +02:00
Ali Afsharzadeh
ed9f86bb95 fix(core): Use exec in docker images to forward signals correctly (#6732) 2023-07-25 17:08:58 +02:00
Sandra Ashipala
0c47be254b fix: Minor grammar adjustment (no-changelog) (#6626) 2023-07-13 14:15:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
b701dcb8ef ci!: Drop support for Node.js 16. Add initial support for Node.js 20 (#6649)
We need to drop node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

`0.236.x` releases will continue to support Node.js 16 for another two months, and `1.x.x` releases will only support Node.js 18 for now.
2023-07-12 15:03:23 +02:00
कारतोफ्फेलस्क्रिप्ट™
05007d894e fix(core): Update docker compose setup for V1 images (#6642) 2023-07-12 11:55:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
f217e1f149 ci: fix docker build for release images (no-changelog) 2023-06-27 17:13:28 +02:00
Iván Ovejero
8c008f5d22 refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options (#6362)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 20:03:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
f024d8be5a ci!: Update docker images for v1 release (#6365)
* ci: Remove debian and rhel7 images

* include libc6-compat in all alpine images

* run all n8n docker containers as the user `node` instead of `root`

* upgrade the default version of npm bundled in all containers

* consolidate docker entrypoints
2023-06-22 19:57:59 +02:00
Cornelius Suermann
573bc8bcea docs: Refer to docker.n8n.io/n8nio/n8n for pulling n8n docker images (no-changelog) (#5763) 2023-03-23 15:38:01 +01:00
कारतोफ्फेलस्क्रिप्ट™
1c98f97e9e ci: Revert support for node.js 18 (#4518) (#4537)
Revert "ci: Start supporting node.js 18 (#4518)"

This reverts commit 9ee292cd17.
2022-11-07 17:23:08 +01:00
कारतोफ्फेलस्क्रिप्ट™
9ee292cd17 ci: Start supporting node.js 18 (#4518)
* ci: start supporting node.js 18

Node.js 18 becomes the active LTS on 2022-10-25, as Node.js 16 goes into maintenance mode.
https://github.com/nodejs/Release#release-schedule

* continue using node 16 for production images

* node 16 for debian and base images as well for now
2022-11-07 15:51:57 +01:00
कारतोफ्फेलस्क्रिप्ट™
41cb0eec6e feat(API): Set up error tracking using Sentry (#4394)
* feat(cli): Setup error tracking using Sentry

* make error reporting available in the workflows package

* address some of the PR comments

* create a ErrorReporterProxy like LoggerProxy

* remove the `captureError` helper. use ErrorReporterProxy directly

* fix linting issues

* remove ErrorReporterProxy warnings in tests

* check for NODE_ENV === 'production' instead

* IErrorReporter -> ErrorReporter

* ErrorReporterProxy.getInstance() -> ErrorReporter

* allow capturing stacks in warnings as well

* make n8n debugging consistent with `npm start`

* IReportingOptions -> ReportingOptions

* use consistent signature for `error` and `warn`

* use Logger instead of console.log
2022-11-04 17:34:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
e63eee28e0 fix(cli): Cache generated assets in user writable directory instead (#4275) 2022-10-06 11:14:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
fd22b3fbdf fix(docker): allow node user to write to n8n/dist/public (#4245) 2022-09-30 17:24:26 +02:00
कारतोफ्फेलस्क्रिप्ट™
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
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
Jan Oberhauser
44b64fb683 docs: Update Docker README.md 2022-06-20 17:09:09 -07: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
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 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