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

Abstracts database storage & Status page UI #88

Merged
merged 17 commits into from
Aug 28, 2021

Conversation

gosom
Copy link
Contributor

@gosom gosom commented Aug 15, 2021

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

@gosom gosom changed the title Abstracts database storage Abstracts database storage & Status page UI Aug 15, 2021
templates/status.html Outdated Show resolved Hide resolved
templates/status.html Outdated Show resolved Hide resolved
Comment on lines -13 to -17
ports:
- 5000:5000
Copy link
Owner

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?

Copy link
Contributor Author

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

@ngoduykhanh
Copy link
Owner

Thanks @gosom for the PR. I've left a few comments there :-)

@ngoduykhanh ngoduykhanh merged commit b7c0990 into ngoduykhanh:master Aug 28, 2021
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

Successfully merging this pull request may close these issues.

2 participants