Skip to content

Commit b26c1f1

Browse files
authored
Metabase: remove ops auth and restrict password ⚠️ (#1194)
As per request from @calys, we remove ops auth. To compensate that, we stricten password requirements. Actions required 🚨⚠️ * reset user password to enforce new password requirements Related issue/s * #1061
1 parent 45fc8ea commit b26c1f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

services/metabase/docker-compose.yml.j2

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ services:
2323
- MB_DB_PASS=${METABASE_POSTGRES_PASSWORD}
2424
# https://www.metabase.com/docs/v0.54/installation-and-operation/running-metabase-on-docker#setting-the-java-timezone
2525
- JAVA_TIMEZONE=UTC
26-
# https://www.metabase.com/docs/latest/installation-and-operation/observability-with-prometheus
26+
# https://www.metabase.com/docs/v0.54/installation-and-operation/observability-with-prometheus
2727
- MB_PROMETHEUS_SERVER_PORT=9191
28+
# https://www.metabase.com/docs/v0.54/people-and-groups/changing-password-complexity
29+
- MB_PASSWORD_COMPLEXITY=strong
30+
- MB_PASSWORD_LENGTH=20
2831
deploy:
2932
# https://www.metabase.com/learn/metabase-basics/administration/administration-and-operation/metabase-at-scale
3033
replicas: ${METABASE_REPLICAS}
@@ -49,7 +52,7 @@ services:
4952
- traefik.http.routers.metabase.entrypoints=https
5053
- traefik.http.routers.metabase.tls=true
5154
- traefik.http.middlewares.metabase_stripprefixregex.stripprefixregex.regex=^/metabase
52-
- traefik.http.routers.metabase.middlewares=ops_whitelist_ips@swarm, ops_gzip@swarm, ops_auth@swarm, metabase_stripprefixregex
55+
- traefik.http.routers.metabase.middlewares=ops_whitelist_ips@swarm, ops_gzip@swarm, metabase_stripprefixregex
5356
# service
5457
- traefik.http.services.metabase.loadbalancer.server.port=3000
5558
- traefik.http.services.metabase.loadbalancer.healthcheck.path=/api/health

0 commit comments

Comments
 (0)