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 Redis password

Blue Mouse0a35594508d2
diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml
index 035d96a316..60f523a57a 100644
--- a/templates/compose/swetrix.yaml
+++ b/templates/compose/swetrix.yaml
@@ -55,6 +55,7 @@ services:
- REDIS_HOST=redis
- CLICKHOUSE_HOST=http://clickhouse
- CLICKHOUSE_PASSWORD=$SERVICE_PASSWORD_CLICKHOUSE
+ - REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS
depends_on:
redis:
condition: service_healthy
@@ -75,7 +76,7 @@ services:
environment:
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_USER=${REDIS_USER:-default}
- - REDIS_PASSWORD=${REDIS_PASSWORD:-}
+ - REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS
healthcheck:
test:
- CMD-SHELL