-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating Telegram Nodes into Node-RED #251
Comments
Can I get you to do two things, please:
The short answer to your question is that the "best" way to add/remove add-on nodes is to edit:
A somewhat longer answer involves explaining that the Dockerfile used by IOTstack's service definition for Node-RED has gone through several revisions. If you (a) use SensorsIot/IOTstack (migrating to that repo if necessary), and (b) do something which "resets" Node-RED (eg remove and re-add Node-RED), you will wind up with a service definition that looks like this: nodered:
container_name: nodered
build:
context: ./services/nodered/.
args:
- DOCKERHUB_TAG=latest
- EXTRA_PACKAGES=
restart: unless-stopped
user: "0"
environment:
- TZ=${TZ:-Etc/UTC}
ports:
- "1880:1880"
volumes:
- ./volumes/nodered/data:/data
- ./volumes/nodered/ssh:/root/.ssh plus a Dockerfile that looks like this:
Personally, I think the structure of the last six lines sucks because:
Here's what the last part of my Dockerfile looks like:
Anyway, suppose I wanted to add another package. I'd add a
and then run:
Hope this helps. |
Okay, it's working for me now. Here's what I did: I followed these instructions: So basically, I executed the last two commands mentioned in your post. Thank you! :) |
You're welcome. Don't forget the |
Hello,
I'm looking to integrate Telegram nodes into Node-RED.
Initially, during the Docker container setup, I overlooked selecting the Telegram Node in the installation options. I later attempted to include it through the Build Menu and proceeded to restart all the containers, but this didn't seem to have any effect. Attempting to add Telegram nodes from the Node-RED Palette results in errors, as shown in the attached screenshot.
Could someone guide me on how to successfully integrate Telegram nodes and potentially other nodes in the future? Any assistance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: