Skip to content

Commit

Permalink
change port
Browse files Browse the repository at this point in the history
  • Loading branch information
tetra-fox committed May 17, 2022
1 parent 8a08161 commit 9b857f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ COPY *.go ./

RUN go build -o /container-status

EXPOSE 80
EXPOSE 8080

CMD [ "/container-status" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
container-status:
image: "ghcr.io/tetra-fox/container-status:latest"
ports:
- "3621:80"
- "3621:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
```
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func main() {
router.GET("/", listContainers)
router.GET("/:name", getContainerByName)

router.Run("localhost:80")
router.Run();
}

func getContainers() ([]byte, error) {
Expand Down

0 comments on commit 9b857f1

Please sign in to comment.