3 Commits

Author SHA1 Message Date
27bbee8d1c Update src/Extend/EnableRedis.php 2024-10-13 11:35:13 +00:00
22d94274d4 Update src/Extend/EnableRedis.php 2024-10-12 16:56:42 +00:00
Davide Iadeluca
2f2cce1abe chore: remove sync workflow 2024-01-31 11:21:07 +01:00
3 changed files with 1 additions and 21 deletions

View File

@@ -1,14 +0,0 @@
name: GB Redis Setup Sync
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
run:
uses: glowingblue/flarum-workflow-sync/.github/workflows/sync.yml@master
secrets: inherit
with:
tag: ${{ github.ref_name }}

View File

@@ -37,12 +37,6 @@
"role": "Developer"
}
],
"repositories": {
"extiverse": {
"type": "composer",
"url": "https://extiverse.com/composer/"
}
},
"autoload": {
"psr-4": {
"GlowingBlue\\RedisSetup\\": "src/"

View File

@@ -86,7 +86,7 @@ class EnableRedis implements ExtenderInterface
public static function getHost(): string
{
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : '127.0.0.1';
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : 'redis';
}
public static function getPassword(): ?string