Skip to content

Commit

Permalink
Use loopback instead of locahost, because healthcheck fails on docker…
Browse files Browse the repository at this point in the history
… 26 (#107)
  • Loading branch information
firecow authored May 21, 2024
1 parent 682348b commit 3ba918d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR /app/
ENV NO_AUTOUPDATE="true"
ENV TUNNEL_TRANSPORT_LOGLEVEL="error"
ENV TUNNEL_LOGLEVEL="info"
ENV TUNNEL_METRICS="localhost:2000"
ENV TUNNEL_METRICS="0.0.0.0:2000"

HEALTHCHECK --interval=5s --retries=6 --timeout=3s CMD wget -q ${TUNNEL_METRICS}/ready -O -

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
These environment variables have other defaults than original.
```shell
TUNNEL_TRANSPORT_LOGLEVEL="error"
TUNNEL_METRICS="localhost:2000" # See Dockerfile healthcheck
TUNNEL_METRICS="0.0.0.0:2000" # See Dockerfile healthcheck
```

Dockerfile CMD is set to `firecow_cloudflared`, overriding this in `docker-compose.yml` or `docker run` will bypass the DNS and named tunnel auto process.
Expand Down

0 comments on commit 3ba918d

Please sign in to comment.