-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Abstracts database storage & Status page UI #88
Conversation
This reverts commit ab6a71d.
ports: | ||
- 5000:5000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we want to expose the port here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ngoduykhanh , thanks for the review.
In order to get the status from the wg
command the docker-compose runs with network-mode host.
This means that we do not need to expose any port
Thanks @gosom for the PR. I've left a few comments there :-) |
Added an IStore interface and an implementation of the current json storage.
This will help adding support for other databases like sqlite
Added also a Status page which displays all the peers
sample of how it looks like here:
https://prnt.sc/1p5oagi