Skip to content

Commit

Permalink
Change the app port
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanda Kishore committed Jan 6, 2022
1 parent 55110cb commit e2f8489
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ WORKDIR /app
USER ${USER}:${USER}
COPY --from=builder /app/server .
ENV USER=appuser \
APP_PORT=1323
APP_PORT=8000
EXPOSE ${APP_PORT}
CMD ["/app/server"]
6 changes: 3 additions & 3 deletions charts/hello-universe/values-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ deployments:
containers:
- name: hello-universe
containerPortName: httpport
containerPort: 1323
containerPort: 8000
internalServicePort: 80
externalNodePort: 32760
servicePortName: httpport
Expand All @@ -21,12 +21,12 @@ deployments:
secretsFileName: secrets-file
livenessProbe:
tcpSocket:
port: 1323
port: 8000
periodSeconds: 5
readinessProbe:
httpGet:
path: /
port: 1323
port: 8000
timeoutSeconds: 10
periodSeconds: 5
successThreshold: 1
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var templatesContent embed.FS
// StartTime gives the start time of server
var StartTime = time.Now()

const defaultAppPort string = "1323"
const defaultAppPort string = "8000"

func getLogLevel(suppliedLogLevel string) log.Level {
if suppliedLogLevel == "" {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package main
var VERSION = [...]string{
"1", // MAJOR,
"3", // MINOR,
"3", // PATCH,
"4", // PATCH,
}

0 comments on commit e2f8489

Please sign in to comment.