diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-12-22 01:47:40 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-12-22 01:47:40 +0100 |
commit | 66a82eedd9cf448fa62eecb389c707fe8f877366 (patch) | |
tree | 314152799516680ccc87596a45b058d704bb217d /roles/apps/node-red/instance/templates/pod-spec.yml.j2 | |
parent | add monitoring for mosquitto (diff) |
initial role apps/node-red (WIP)
Diffstat (limited to 'roles/apps/node-red/instance/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/apps/node-red/instance/templates/pod-spec.yml.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/apps/node-red/instance/templates/pod-spec.yml.j2 b/roles/apps/node-red/instance/templates/pod-spec.yml.j2 new file mode 100644 index 00000000..29f2161a --- /dev/null +++ b/roles/apps/node-red/instance/templates/pod-spec.yml.j2 @@ -0,0 +1,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 |