Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Use magic variable for Clickhouse password

Blue Mouse8ef759ff0a00
diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml
index 2482ac5e94..035d96a316 100644
--- a/templates/compose/swetrix.yaml
+++ b/templates/compose/swetrix.yaml
@@ -54,7 +54,7 @@ services:
# Required service endpoints
- REDIS_HOST=redis
- CLICKHOUSE_HOST=http://clickhouse
- - CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-}
+ - CLICKHOUSE_PASSWORD=$SERVICE_PASSWORD_CLICKHOUSE
depends_on:
redis:
condition: service_healthy
@@ -92,7 +92,7 @@ services:
- CLICKHOUSE_DATABASE=${CLICKHOUSE_DATABASE:-analytics}
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-default}
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- - CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-}
+ - CLICKHOUSE_PASSWORD=$SERVICE_PASSWORD_CLICKHOUSE
healthcheck:
test:
- CMD-SHELL