Skip to content

Commit

Permalink
improve nodered
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Jun 12, 2024
1 parent 2ca8b5c commit 75ba80a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 8 additions & 1 deletion apps/nodered/.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ W9_URL=appname.example.com
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####

# Below is environments of Node-Red
# env docs: https://nodered.org/docs/getting-started/docker#startup
# config_file:/data/settings.js
# config_file:/data/settings.js

TZ=Europe/Amsterdam
NODE_OPTIONS=--max_old_space_size=128
NODE_RED_ENABLE_SAFE_MODE=false
NODE_RED_ENABLE_PROJECTS=false
#FLOWS=my_flows.json
4 changes: 1 addition & 3 deletions apps/nodered/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ services:
container_name: ${W9_ID}
ports:
- ${W9_HTTP_PORT_SET}:1880
environment:
- TZ=Europe/Amsterdam
- NODE_OPTIONS=--max_old_space_size=128
volumes:
- nodered_data:/data
#- ./src/my_flows.json:/data/my_flows.json
env_file: .env
restart: unless-stopped

Expand Down
Empty file added apps/nodered/src/my_flows.json
Empty file.

0 comments on commit 75ba80a

Please sign in to comment.