Categories
Teknologi

Docker-compose untuk n8n di Synology (Container Manager)

Berikut n8n docker-compose.yml dijalankan di Container Manager.

services:
  n8n:
    image: n8nio/n8n:latest
    container_name: n8n
    restart: unless-stopped
    ports:
      - "5678:5678"
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=xxxxx   # Change this!
      - N8N_BASIC_AUTH_PASSWORD=xxxxx # Change this!
      - TZ=Asia/Jakarta
      - N8N_RUNNERS_ENABLED=true
    volumes:
      - n8n_data:/home/node/.n8n
      - ./local-files:/files

volumes:
  n8n_data:

Leave a Reply

Your email address will not be published. Required fields are marked *