Add a stack file for node-red for testing purpuses.

This commit is contained in:
Robert Middleswarth
2021-11-11 23:45:24 -05:00
parent 4167e37e70
commit 8e343f1f85

22
stack/node-red.yml Normal file
View File

@@ -0,0 +1,22 @@
version: "3.7"
services:
app:
image: nodered/node-red:latest
container_name: node-red
environment:
NODE_RED_CREDENTIAL_SECRET: ${NODE_RED_CREDENTIAL_SECRET}
TZ: ${TZ}
DB_MYSQL_PASSWORD: ${DATABASE_PASSWORD}
volumes:
- node-red-data:/data
ports:
- 1880:1880
networks:
iot:
restart: unless-stopped
volumes:
node-red-data:
networks:
iot: