Skip to content
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

How to secure python-matter-server in docker mode ? #959

Open
zoic21 opened this issue Nov 21, 2024 · 0 comments
Open

How to secure python-matter-server in docker mode ? #959

zoic21 opened this issue Nov 21, 2024 · 0 comments

Comments

@zoic21
Copy link

zoic21 commented Nov 21, 2024

Hello,

Thanks for this project I just test with a wifi plug and it's perfectly work. Currently I have HA deploy in docker (network mode host) and python-matter-server in docker also in network mode host like that :

services:
  matter-server:
    image: ghcr.io/home-assistant-libs/python-matter-server:stable
    container_name: matter-server
    restart: always
    network_mode: host
    volumes:
      - /opt/docker/matter-server:/data/

But I wonder how I can secure this, I explain : python-matter-server open port 5580 for websoket but since I'am in docker host mode it's accessible for everybody on my LAN.

So do I need to have a firewall on my docker server to disallow port 5580 ? It's can work but it's not really a security... Or can I add authentification or apikey or somethings like that ?

Thanks in advance for your return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant