-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui fix, docker image update, github action added for release
- Loading branch information
1 parent
85eb013
commit 1da9a9f
Showing
8 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Deploying Image on Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Logging into Github Container Registry | ||
run: | | ||
echo $CR_PAT | docker login ghcr.io -u utkarsh-1905 --password-stdin | ||
env: | ||
CR_PAT: ${{ secrets.CR_PAT }} | ||
- name: Building Docker Image | ||
run: | | ||
docker build . -t ghcr.io/utkarsh-1905/docker-network-vis:${{ github.sha }} | ||
- name: Pushing Docker Image | ||
run: | | ||
docker push ghcr.io/utkarsh-1905/docker-network-vis:${{ github.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
TODO.md | ||
TODO.md | ||
start.dev.sh | ||
*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
### Current UI | ||
### How to use | ||
|
||
 | ||
1. Clone the repository | ||
2. Run the start.sh bash file in your linux terminal to build and start the container on local port 6904. | ||
3. Open your browser and go to localhost:6904 and you should see the app running and displaying all your containers in your network buckets. | ||
|
||
### Why to use? | ||
|
||
1. It is a very simple application to give you a quick overview of all your containers in your network buckets. | ||
2. It helps in debugging and testing your containers. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
sudo docker run -d -p 6904:3000 --rm --net web --name docker-vis -v /var/run/docker.sock:/var/run/docker.sock docker-vis:latest | ||
sudo docker build . -t docker-vis:latest | ||
sudo docker run -d -p 6904:3000 --rm --net web --net bridge --name docker-vis -v /var/run/docker.sock:/var/run/docker.sock docker-vis:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
package util | ||
|
||
import "log" | ||
|
||
func HandleError(err error) { | ||
if err != nil { | ||
panic(err) | ||
log.Fatal(err) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters