serek4 / node-red-sofar-inverter

node-red server/proxy for sofar inverter
MIT License
24 stars 8 forks source link

Forward data from logger to dockerized Node Red #8

Closed ilexpl01 closed 1 year ago

ilexpl01 commented 1 year ago

Hi,

My Node Red is running as docker on my Synology NAS. Only single TCP port 1880 is exposed.

Can I get an advise how to forward port 10000 to NR ?

BR Mikolaj

serek4 commented 1 year ago

simply add port 10000:10000 TCP to your docker container and make sure it is not blocked by firewall

this is my docker compose for example

services:
  nodered:
    container_name: nodered
    image: nodered/node-red:latest-18
    restart: unless-stopped
    ports:
      - "1880:1880"
      - "10000:10000"
    volumes:
      - ./data:/data
    environment:
      - TZ=Europe/Warsaw
ilexpl01 commented 1 year ago

Dziękuję 😊

From: serek4 @.> Sent: Sunday, October 09, 2022 11:11 AM To: serek4/node-red-sofar-inverter @.> Cc: ilexpl01 @.>; Author @.> Subject: Re: [serek4/node-red-sofar-inverter] Forward data from logger to dockerized Node Red (Issue #8)

simply add port 10000:10000 TCP to your docker container and make sure it is not blocked by firewall

this is my docker compose for example

services: nodered: container_name: nodered image: nodered/node-red:latest-18 restart: unless-stopped ports:

— Reply to this email directly, view it on GitHub https://github.com/serek4/node-red-sofar-inverter/issues/8#issuecomment-1272495613 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGIVMIENYXL4L3FFJKPCULWCKD35ANCNFSM6AAAAAARALOVCQ . You are receiving this because you authored the thread. <data:image/gif;base64,%20R0lGODlhAQABAJEAAP///wAAAAAAAAAAACH5BAkAAAAALAAAAAABAAEAAAgEAAEEBAA7> Message ID: @. @.> >

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/serek4/node-red-sofar-inverter/issues/8#issuecomment-1272495613", "url": "https://github.com/serek4/node-red-sofar-inverter/issues/8#issuecomment-1272495613", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]