This repository is for demo how to build a n8n with docker compose
An automation framework allow us to build workflow in visual way
services:
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
container_name: n8n-service
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=${N8N_BASIC_AUTH_USER}
- N8N_BASIC_AUTH_PASSWORD=${N8N_BASIC_AUTH_PASSWORD}
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- N8N_PORT=5678
- NODE_ENV=production
ports:
- 5678:5678
volumes:
- ${DATA_FOLDER}/.n8n:/home/node/.n8nfor setup purpose, all the configure records will be store in to local file
sudo chmod +R 777 data