1.7 KiB
de.captica.n8n
This project contains a Dockerfile to build a Docker image for n8n, a free and open-source node-based workflow automation tool.
The original image of n8n is based on an alpine image which has some unusable tools
Table of Contents
- Prerequisites
- Building the Docker Image
- Running the Docker Container
- Customizing the Docker Image
- License
Prerequisites
- Docker installed on your system
- Access to a Docker registry (optional)
Building the Docker Image
To build the Docker image, navigate to the project directory and run the following command:
docker build -t de.captica.n8n .
This will build the Docker image using the Dockerfile in the current directory.
Running the Docker Container
To run the Docker container, use the following command
docker run -d -p 5678:5678 --name n8n de.captica.n8n
This will start a detached Docker container named "n8n" and expose port 5678 on your host machine. You can access n8n at http://localhost:5678 in your browser.
Customizing the Docker Image
To customize the Docker image, you can modify the Dockerfile and rebuild the image. Here are some examples of customizations you might consider:
- Add custom workflows: Copy your workflows into the /data directory in the Dockerfile.
- Set environment variables: Use the ENV directive in the Dockerfile to set environment variables for n8n.
- Install additional packages: Use the RUN directive to install additional packages using apt-get or npm.
License
This project is licensed under the MIT License. See the LICENSE file for more information.