Skip to content

Commit 46da487

Browse files
authored
Listening on all interfaces for Docker (#262)
1 parent 1e94d14 commit 46da487

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ FROM debian:stable-slim
1818

1919
COPY --from=builder /build/moneyd /
2020

21+
EXPOSE 8080
2122
ENTRYPOINT [ "./moneyd"]

cmd/moneyd/moneyd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (cmd *moneydCmd) Run() error {
8989
mux.Handle("/", ui.SvelteKitHandler("/"))
9090

9191
err = http.ListenAndServe(
92-
"localhost:8080",
92+
":8080",
9393
h2c.NewHandler(handleCORS(mux), &http2.Server{}),
9494
)
9595

0 commit comments

Comments
 (0)