summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/node-red.yml
blob: f9a0811faf3ff1521fc7bd7bd88f4fface277115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
captainVersion: 4
services:
    $$cap_appname:
        image: nodered/node-red:$$cap_node-red_version
        volumes:
            - $$cap_appname-data:/data
        restart: always
        environment:
            TZ: $$cap_node-red_timezone
        caproverExtra:
            containerHttpPort: '1880'
caproverOneClickApp:
    variables:
        - id: $$cap_node-red_version
          label: node-red version tag
          description: Check out their docker page for the valid tags @ https://hub.docker.com/r/nodered/node-red/tags
          defaultValue: 3.1.8-18-minimal
        - id: $$cap_node-red_timezone
          label: Time Zone
          description: Check out this list and use tz database name as value @ https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
          defaultValue: Europe/Berlin
    instructions:
        start: Low-code programming for event-driven applications
        end: |-
            `node-red` has been successfully deployed and is now available at http://$$cap_appname.$$cap_root_domain!

            **REQUIRED**: Enable websocket-support in `HTTP Settings`.

            It is recommended that you setup basic authentication and review the default settings as necessary. See the documentation at https://nodered.org/docs for more information.

            IMPORTANT: It will take up to 2 minutes for `node-red` to be ready. Before that, you might see 502 error page.
    displayName: 'Node-Red'
    description: Low-code programming for event-driven applications
    documentation: Read the documentation @ https://nodered.org/docs/
    isOfficial: true