forked from clone/flarum-ext-redis-setup
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 27bbee8d1c | |||
| 22d94274d4 | |||
|
|
2f2cce1abe |
14
.github/workflows/sync.yml
vendored
14
.github/workflows/sync.yml
vendored
@@ -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 }}
|
||||
@@ -37,12 +37,6 @@
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"repositories": {
|
||||
"extiverse": {
|
||||
"type": "composer",
|
||||
"url": "https://extiverse.com/composer/"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"GlowingBlue\\RedisSetup\\": "src/"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user