Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

crazy-max/docker-n8n

Repository files navigation

Latest Version Build Status Docker Stars Docker Pulls
Become a sponsor Donate Paypal

About

Docker image for n8n, a workflow automation tool. Easily automate tasks across different services.

Tip

Want to be notified of new releases? Check out 🔔 Diun (Docker Image Update Notifier) project!


Build locally

git clone https://github.com/crazy-max/docker-n8n.git
cd docker-n8n

# Build image and output to docker (default)
docker buildx bake

# Build multi-platform image
docker buildx bake image-all

Image

Registry Image
Docker Hub crazymax/n8n
GitHub Container Registry ghcr.io/crazy-max/n8n

Following platforms for this image are available:

$ docker run --rm mplatform/mquery crazymax/n8n:latest
Image: crazymax/n8n:latest
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v7
   - linux/arm64

Environment variables

  • TZ: The timezone assigned to the container (default UTC)

To configure the application, just add the environment variables as shown in the official Configuration page of n8n.

Ports

  • 5678: HTTP port

Usage

Docker Compose

Docker compose is the recommended way to run this image. You can use the following docker compose template, then run the container:

docker compose up -d
docker compose logs -f

Command line

You can also use the following minimal command:

docker run -d -p 5678:5678 --name n8n \
  -e "TZ=Europe/Paris" \
  -e "GENERIC_TIMEZONE=Europe/Paris" \
  -v $(pwd)/data:/data \
  crazymax/n8n:latest

Upgrade

To upgrade, pull the newer image and launch the container :

docker compose pull
docker compose up -d

Contributing

Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by becoming a sponsor on GitHub or by making a PayPal donation to ensure this journey continues indefinitely!

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.