From 8b4ebcca523e9ebf4e142779f5d173bec49dbc36 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 11 Jun 2024 14:19:43 +0800 Subject: [PATCH] nodered --- apps/nodered/.env | 5 ++++- apps/nodered/docker-compose.yml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/nodered/.env b/apps/nodered/.env index aa48b8806..5ae07cef6 100644 --- a/apps/nodered/.env +++ b/apps/nodered/.env @@ -8,4 +8,7 @@ W9_HTTP_PORT=1880 W9_HTTP_PORT_SET=9001 W9_URL=appname.example.com W9_NETWORK=websoft9 -#### --------------------------------------------------------------------------------------- #### \ No newline at end of file +#### --------------------------------------------------------------------------------------- #### + +# env docs: https://nodered.org/docs/getting-started/docker#startup +# config_file:/data/settings.js \ No newline at end of file diff --git a/apps/nodered/docker-compose.yml b/apps/nodered/docker-compose.yml index 131df3853..01d1b941c 100644 --- a/apps/nodered/docker-compose.yml +++ b/apps/nodered/docker-compose.yml @@ -9,6 +9,8 @@ services: container_name: ${W9_ID} ports: - ${W9_HTTP_PORT_SET}:1880 + environment: + - TZ=Europe/Amsterdam volumes: - nodered_data:/data env_file: .env