summaryrefslogtreecommitdiff
path: root/roles/apps/node-red/instance/templates/pod-spec.yml.j2
blob: 29f2161aa69168c83827c07be2948c38b54e12c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
containers:
- name: node-red
  image: "nodered/node-red:{{ node_red_instances[node_red_instance].version }}-debian"
  volumeMounts:
  - name: tls
    mountPath: /tls
    readOnly: true
  - name: data
    mountPath: /data
  ports:
  - containerPort: 1880
    hostPort: {{ node_red_instances[node_red_instance].port }}
volumes:
- name: tls
  hostPath:
    path: "{{ node_red_instance_basepath }}/tls"
    type: Directory
- name: data
  hostPath:
    path: "{{ node_red_instance_basepath }}/data"
    type: Directory