fix: adds redis phing var
This commit is contained in:
@@ -8,3 +8,4 @@ MERCURE_PUBLIC_URL=%%mercure_public_url%%
|
|||||||
MERCURE_JWT_SECRET="%%mercure_jwt_secret%%"
|
MERCURE_JWT_SECRET="%%mercure_jwt_secret%%"
|
||||||
JELLYFIN_URL=%%jellyfin_url%%
|
JELLYFIN_URL=%%jellyfin_url%%
|
||||||
JELLYFIN_TOKEN=%%jellyfin_token%%
|
JELLYFIN_TOKEN=%%jellyfin_token%%
|
||||||
|
REDIS_HOST="%%redis_host%%"
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
<token key="mercure_jwt_secret" value="${MERCURE_JWT_SECRET}" />
|
<token key="mercure_jwt_secret" value="${MERCURE_JWT_SECRET}" />
|
||||||
<token key="jellyfin_url" value="${JELLYFIN_URL}" />
|
<token key="jellyfin_url" value="${JELLYFIN_URL}" />
|
||||||
<token key="jellyfin_token" value="${JELLYFIN_TOKEN}" />
|
<token key="jellyfin_token" value="${JELLYFIN_TOKEN}" />
|
||||||
|
<token key="redis_host" value="${REDIS_HOST}" />
|
||||||
</replacetokens>
|
</replacetokens>
|
||||||
</filterchain>
|
</filterchain>
|
||||||
</copy>
|
</copy>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ framework:
|
|||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
app: cache.adapter.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)
|
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
|
||||||
#app: cache.adapter.apcu
|
#app: cache.adapter.apcu
|
||||||
|
|||||||
Reference in New Issue
Block a user