NathanVaughn / powerpanel-business-docker

Docker image for CyberPower PowerPanel Business
https://hub.docker.com/r/nathanvaughn/powerpanel-business
MIT License
24 stars 14 forks source link

Is there a way to run 2 or 3 of these? #17

Closed sgtcoder closed 1 year ago

sgtcoder commented 1 year ago

Is there a way to run 2 or 3 of these?

I know when setting a port map the ports have to be different. Is there a reason why we need inbound port mapped open up for all of these ports? I am running their VM version and that's not needed.

NathanVaughn commented 1 year ago

If you're just using the USB connection (like I personally do), you only need to expose port 3052 for the HTTP server. And with Docker, you can map it to any port you like. I don't have a UPS with a network card, so I can't say how important the other ports are.

sgtcoder commented 1 year ago

I realized you can also use Nginx or Traefik without even exposing any ports at all.

NathanVaughn commented 1 year ago

Yeah, using a reverse proxy is definitely the way to go, I use Traefik for everything. I'll close this then, since it sounds like you got it figured out.