Skip to content

Commit e892209

Browse files
committed
Reduce logging noise
1 parent 7e30b6f commit e892209

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

services/metabase/docker-compose.yml.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
- public
99
- monitored
1010
environment:
11+
- MB_HEALTH_CHECK_LOGGING_ENABLED=false
1112
# Avoid: site URL basename "/" does not match the actual basename
1213
# https://www.metabase.com/docs/latest/configuring-metabase/environment-variables#mb_site_url
1314
- MB_SITE_URL=https://${ADMIN_DOMAIN}/metabase/
@@ -52,7 +53,11 @@ services:
5253
# service
5354
- traefik.http.services.metabase.loadbalancer.server.port=3000
5455
- traefik.http.services.metabase.loadbalancer.healthcheck.path=/api/health
55-
- traefik.http.services.metabase.loadbalancer.healthcheck.interval=5s
56+
- traefik.http.services.metabase.loadbalancer.healthcheck.interval=10s
57+
# GET method sometimes fails (`Request canceled before finishing`) log
58+
# This does not happen with HEAD method. Official healthcheck documentation
59+
# defines HEAD as well
60+
- traefik.http.services.metabase.loadbalancer.healthcheck.method=HEAD
5661
- traefik.http.services.metabase.loadbalancer.healthcheck.timeout=1s
5762

5863
# https://www.metabase.com/learn/metabase-basics/administration/administration-and-operation/metabase-in-production

0 commit comments

Comments
 (0)