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

TCP ports and how to persist data @ Docker #163

Open
snakuzzo opened this issue Jul 22, 2024 · 5 comments
Open

TCP ports and how to persist data @ Docker #163

snakuzzo opened this issue Jul 22, 2024 · 5 comments

Comments

@snakuzzo
Copy link

I'm running OTBR on Docker.

Is it possible to specify:

  • Every TCP port used. On doc there is just TCP port related to the webgui but, for example, for some integrations we need also 8081 (used by OTBR for websocket protocol). Are there any other used TCP ports?
  • If I destroy my container I lose every configuration about thread network. What are directories to bind to make data persistent ?

Thank you

@snakuzzo snakuzzo changed the title TCP ports and how to persist data @ Dokcer TCP ports and how to persist data @ Docker Jul 22, 2024
@KC-inDomus
Copy link

can't believe this google project is so badly mantained and documented.

@jwhui
Copy link
Member

jwhui commented Jul 31, 2024

Every TCP port used. On doc there is just TCP port related to the webgui but, for example, for some integrations we need also 8081 (used by OTBR for websocket protocol). Are there any other used TCP ports?

It's just the two ports you identified - one for the REST API and another for the web UI.

If I destroy my container I lose every configuration about thread network. What are directories to bind to make data persistent ?

The current OTBR Docker image is meant for development, not production, and does not save state.

You can make /var/lib/thread a Docker volume. More here: https://github.com/orgs/openthread/discussions/10311#discussioncomment-9754171

@jwhui
Copy link
Member

jwhui commented Jul 31, 2024

can't believe this google project is so badly mantained and documented.

OpenThread is a community supported project. Anyone is free to make contributions.

@KC-inDomus
Copy link

can't believe this google project is so badly mantained and documented.

OpenThread is a community supported project. Anyone is free to make contributions.

I would do it, if I were able.
So, as a simple user, I feel uncomfortable with so little support.

@jwhui
Copy link
Member

jwhui commented Jul 31, 2024

So, as a simple user, I feel uncomfortable with so little support.

You can start by submitting a PR that helps address any issues you've run into.

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

3 participants