diff --git a/Dockerfile b/Dockerfile index 9b5a307..469d77f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ COPY *.go ./ RUN go build -o /container-status -EXPOSE 80 +EXPOSE 8080 CMD [ "/container-status" ] diff --git a/README.md b/README.md index 2d2d124..39f1d97 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/main.go b/main.go index ccd9f65..36f90b4 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { router.GET("/", listContainers) router.GET("/:name", getContainerByName) - router.Run("localhost:80") + router.Run(); } func getContainers() ([]byte, error) {