fix: adds redis phing var

This commit is contained in:
2025-05-01 20:21:30 -05:00
parent 4f6f8f43f1
commit e5f0f358b7
3 changed files with 3 additions and 1 deletions

View File

@@ -8,3 +8,4 @@ MERCURE_PUBLIC_URL=%%mercure_public_url%%
MERCURE_JWT_SECRET="%%mercure_jwt_secret%%"
JELLYFIN_URL=%%jellyfin_url%%
JELLYFIN_TOKEN=%%jellyfin_token%%
REDIS_HOST="%%redis_host%%"

View File

@@ -34,6 +34,7 @@
<token key="mercure_jwt_secret" value="${MERCURE_JWT_SECRET}" />
<token key="jellyfin_url" value="${JELLYFIN_URL}" />
<token key="jellyfin_token" value="${JELLYFIN_TOKEN}" />
<token key="redis_host" value="${REDIS_HOST}" />
</replacetokens>
</filterchain>
</copy>

View File

@@ -9,7 +9,7 @@ framework:
# Redis
app: cache.adapter.redis
default_redis_provider: redis://redis
default_redis_provider: '%env(REDIS_HOST)%'
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
#app: cache.adapter.apcu