Skip to content

Commit

Permalink
Listening on all interfaces for Docker (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto authored Dec 20, 2023
1 parent 1e94d14 commit 46da487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ FROM debian:stable-slim

COPY --from=builder /build/moneyd /

EXPOSE 8080
ENTRYPOINT [ "./moneyd"]
2 changes: 1 addition & 1 deletion cmd/moneyd/moneyd.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (cmd *moneydCmd) Run() error {
mux.Handle("/", ui.SvelteKitHandler("/"))

err = http.ListenAndServe(
"localhost:8080",
":8080",
h2c.NewHandler(handleCORS(mux), &http2.Server{}),
)

Expand Down

0 comments on commit 46da487

Please sign in to comment.