Skip to main content

n8n docker-compose


version: '3.8'

services:
  n8n:
    image: docker.n8n.io/n8nio/n8n
    restart: always
    environment:
#      - N8N_BASIC_AUTH_ACTIVE=${N8N_BASIC_AUTH_ACTIVE}
#      - N8N_BASIC_AUTH_USER=${N8N_BASIC_AUTH_USER}
#      - N8N_BASIC_AUTH_PASSWORD=${N8N_BASIC_AUTH_PASSWORD}
       DB_TYPE: mysqldb
       DB_MYSQLDB_DATABASE: XXXXXX
       DB_MYSQLDB_HOST: 192.168.100.20
       DB_MYSQLDB_PORT: 3307
       DB_MYSQLDB_USER: XXXXXXX
       DB_MYSQLDB_PASSWORD: XXXXXXX
    user: root:root
    ports:
      - 5678:5678
    volumes:
      - /mnt/koa-01/n8n/config:/home/node/.n8n

Les dernières images sont disponibles sur le site officiel Docker Hub, accessibles via ce lien : n8n