Skip to content

Commit

Permalink
Updated default frontend address
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Apr 29, 2022
1 parent 896e8d7 commit 7c0b90f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ FROM scratch AS main

COPY --from=build /src/dist/cetusguard-* /bin/cetusguard

ENV CETUSGUARD_FRONTEND_ADDR='tcp://:2375'

ENTRYPOINT ["/bin/cetusguard"]
2 changes: 1 addition & 1 deletion cmd/cetusguard/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
flag.StringVar(
&frontendAddr,
"frontend-addr",
env.StringEnv("tcp://:2375", "CETUSGUARD_FRONTEND_ADDR"),
env.StringEnv("tcp://127.0.0.1:2375", "CETUSGUARD_FRONTEND_ADDR"),
"Address to bind the server to (env CETUSGUARD_FRONTEND_ADDR)",
)

Expand Down

0 comments on commit 7c0b90f

Please sign in to comment.