mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update node-red
This commit is contained in:
parent
a2566fc9a7
commit
c811c25796
@ -25,19 +25,19 @@ services in new and interesting ways.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```
|
||||
```yaml
|
||||
node-red:
|
||||
image: vimagick/node-red
|
||||
ports:
|
||||
- "1880:1880"
|
||||
volumes:
|
||||
- ./node-red:/root/.node-red
|
||||
- ./data:/root/.node-red
|
||||
restart: always
|
||||
```
|
||||
|
||||
## settings.js
|
||||
|
||||
```
|
||||
```javascript
|
||||
module.exports = {
|
||||
|
||||
//...
|
||||
@ -68,7 +68,7 @@ module.exports = {
|
||||
```
|
||||
$ cd ~/fig/node-red/
|
||||
$ docker-compose up -d
|
||||
$ vi node-red/settings.js
|
||||
$ vi data/settings.js
|
||||
$ docker-compose exec node-red bash
|
||||
>>> cd /root/.node-red
|
||||
>>> apk add -U build-base
|
||||
|
Loading…
Reference in New Issue
Block a user