Skip to content

Commit

Permalink
Update Dockerfile and README.md, fix container name in docker-compose…
Browse files Browse the repository at this point in the history
….yml, and update page titles in templates
  • Loading branch information
minpeter committed Mar 13, 2024
1 parent ef95bf2 commit b9d52f2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Step 1: Modules caching
FROM --platform=$BUILDPLATFORM golang:latest as modules
FROM golang:latest as modules
COPY go.mod go.sum /modules/
WORKDIR /modules
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ipLogger
# iplogger

[![Go Report Card](https://goreportcard.com/badge/github.com/minpeter/iplogger)](https://goreportcard.com/report/github.com/minpeter/iplogger)
[![Go Reference](https://pkg.go.dev/badge/github.com/minpeter/iplogger.svg)](https://pkg.go.dev/github.com/minpeter/iplogger)
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
iplogger:
container_name: ipLogger
container_name: iplogger
image: minpeter/iplogger
build: .
ports: ["10000:10000"]
Expand All @@ -11,4 +11,4 @@ services:
- iplogger-log:/log

volumes:
iplogger-log:
iplogger-log:
2 changes: 1 addition & 1 deletion templates/detail.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>isLogger</title>
<title>iplogger</title>
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions templates/index.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ipLogger</title>
<title>iplogger</title>
</head>

<body>
Expand All @@ -22,7 +22,7 @@
<!-- github repo link -->

<footer>
<a href="https://github.com/minpeter/ipLogger">github.com/minpeter/ipLogger</a>
<a href="https://github.com/minpeter/iplogger">github.com/minpeter/iplogger</a>
</footer>

<style>
Expand Down Expand Up @@ -146,4 +146,4 @@
});
</script>

</html>
</html>

0 comments on commit b9d52f2

Please sign in to comment.