An open API service indexing awesome lists of open source software.

https://github.com/marcelcoding/node-red-docker

Node-RED Docker image with dashboard nodes and a dark theme
https://github.com/marcelcoding/node-red-docker

Last synced: 6 months ago
JSON representation

Node-RED Docker image with dashboard nodes and a dark theme

Awesome Lists containing this project

README

          

# Node-RED Docker

[![Releases](https://img.shields.io/github/v/tag/MarcelCoding/node-red-docker?label=latest%20version&style=flat-square)](https://github.com/marcelcoding/node-red-docker/releases)
[![Build](https://img.shields.io/github/workflow/status/MarcelCoding/node-red-docker/CI?label=CI&style=flat-square)](https://github.com/marcelcoding/node-red-docker/actions)

This is a docker container for [Node-RED](https://nodered.org/). It is based on the
"official" [Node-RED Docker Image](https://github.com/node-red/node-red-docker/) but withe
the [Node-RED Dashboard](https://github.com/node-red/node-red-dashboard)
and [addon](https://github.com/node-red/node-red-ui-nodes/) nodes,
a [dark theme](https://github.com/node-red-contrib-themes/dark), and some environment variables.

## Deployment

This image is available in [DockerHub](https://hub.docker.com/r/marcelcoding/node-red) and the
[GitHub Container Registry](https://github.com/users/MarcelCoding/packages/container/package/node-red):

```
marcelcoding/node-red:latest
ghcr.io/marcelcoding/node-red:latest
```

### Docker "run" Command

```bash
docker run \
-p 1880:1880 \
-e PASSWORD=SECURE_PASSWORD \
--restart always \
--mount "./node-red-data:/data"
marcelcoding/node-red:latest
```

### Docker Compose

````yaml
# docker-compose.yaml
version: '3.8'

services:
node-red-docker:
image: marcelcoding/node-red:latest
restart: always
environment:
# - 'USERNAME=admin' # <- Webinterface username (optional, default: "admin")
# - 'PASSWORD=SECURE_PASSWORD' # <- Webinterface password (optional, default: "admin")
ports:
- '1880:1880' # <- Http Web Interface
volumes:
- ./node-red-data:/data # <- Data Persistence
````

## License

[LICENSE](LICENSE)