name: n8n
services:
  n8n:
    environment:
      TZ: $TZ
    image: n8nio/n8n:0.218.0
    deploy:
      resources:
        reservations:
          memory: 320M
    network_mode: bridge
    ports:
      - target: 5678
        published: "5678"
        protocol: tcp
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/$AppID/.n8n
        target: /home/node/.n8n
    x-casaos:
      author: YoussofKhawaja
      category: Utilities
      container:
        envs:
          - container: TZ
            description:
              en_US: TimeZone
              zh_CN: 时区
        index: /
        port_map: "5678"
        ports:
          - container: "5678"
            description:
              en_US: web port
              zh_CN: web 端口

        volumes:
          - container: /home/node/.n8n
            description:
              en_US: n8n directory.
              zh_CN: n8n 目录。
      description:
        en_US: Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
        zh_CN: 免费且开源的 fair-code 许可的工作流自动化工具。轻松地在不同的服务之间自动化任务。
      developer: n8n
      icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/icon.png
      screenshot_link:
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-1.png
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-2.png
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/screenshot-3.png
      tagline:
        en_US: Workflow automation tool
        zh_CN: 工作流自动化工具
      thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/N8n/thumbnail.png
      tips: {}
      title:
        en_US: n8n
x-casaos:
  architectures:
    - amd64
    - arm64
    - arm
  main_app: n8n
