Compare commits

...

28 Commits

Author SHA1 Message Date
cd5e93ca07 更新 Dockerfile
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-11-05 13:44:59 +08:00
8961360419 更新 Dockerfile
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-11-05 13:43:11 +08:00
ec3dcfcbb4 更新 Dockerfile
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-10-17 00:40:29 +08:00
flowshadow
15b2bf34e1 修改镜像地址
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
2025-10-17 00:13:14 +08:00
Jose Diaz-Gonzalez
1806e7a16c Merge pull request #285 from dokku/dependabot/github_actions/softprops/action-gh-release-2.3.4
Some checks failed
CI / unit-tests (push) Has been cancelled
CI / unit-tests-0.19.0 (push) Has been cancelled
chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
2025-10-07 13:57:18 -04:00
dependabot[bot]
138d065af2 chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.3...v2.3.4)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 15:19:56 +00:00
Jose Diaz-Gonzalez
7530ccdbff Merge pull request #283 from dokku/dependabot/github_actions/softprops/action-gh-release-2.3.3
chore(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
2025-09-08 15:03:48 -04:00
dependabot[bot]
65603ccee7 chore(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 15:09:33 +00:00
Jose Diaz-Gonzalez
a150dcc1c5 Merge pull request #282 from dokku/dependabot/github_actions/actions/setup-python-6
chore(deps): bump actions/setup-python from 5 to 6
2025-09-04 14:43:40 -04:00
dependabot[bot]
6ccb6dcdb0 chore(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 15:21:58 +00:00
Jose Diaz-Gonzalez
4ced6bd2e7 Release 1.40.4
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-08-22 03:09:55 -04:00
Jose Diaz-Gonzalez
4e92b82fa9 Merge pull request #281 from dokku/dependabot/docker/redis-8.2.1
chore(deps): bump redis from 8.2.0 to 8.2.1
2025-08-22 03:09:48 -04:00
dependabot[bot]
091e870dac chore(deps): bump redis from 8.2.0 to 8.2.1
Bumps redis from 8.2.0 to 8.2.1.

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 8.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 22:23:56 +00:00
Jose Diaz-Gonzalez
94aaf2559c Merge pull request #280 from dokku/dependabot/github_actions/actions/checkout-5
chore(deps): bump actions/checkout from 4 to 5
2025-08-12 11:46:39 -04:00
dependabot[bot]
d1936e8756 chore(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 19:58:19 +00:00
Jose Diaz-Gonzalez
3f90d6ca6b Release 1.40.3
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-08-08 17:05:50 -04:00
Jose Diaz-Gonzalez
603af87bd1 Merge pull request #279 from dokku/dependabot/docker/redis-8.2.0
chore(deps): bump redis from 8.0.3 to 8.2.0
2025-08-08 17:05:42 -04:00
dependabot[bot]
1a6536d398 chore(deps): bump redis from 8.0.3 to 8.2.0
Bumps redis from 8.0.3 to 8.2.0.

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 16:27:36 +00:00
Jose Diaz-Gonzalez
412b300953 Release 1.40.2
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-07-25 05:11:48 -04:00
Jose Diaz-Gonzalez
05d5e6e1fb Merge pull request #277 from dokku/dependabot/docker/redis-8.0.3
chore(deps): bump redis from 8.0.2 to 8.0.3
2025-07-25 05:11:44 -04:00
dependabot[bot]
707bccbb96 chore(deps): bump redis from 8.0.2 to 8.0.3
Bumps redis from 8.0.2 to 8.0.3.

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 8.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 15:54:50 +00:00
Jose Diaz-Gonzalez
46312ff3df Merge pull request #276 from dokku/dependabot/github_actions/softprops/action-gh-release-2.3.2
chore(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
2025-06-12 11:50:29 -04:00
dependabot[bot]
2e2034d4d8 chore(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.2.2...v2.3.2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 16:03:46 +00:00
Jose Diaz-Gonzalez
0dc904c85f Release 1.40.1
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-06-01 22:46:20 -04:00
Jose Diaz-Gonzalez
8fa1c65aa5 Merge pull request #274 from dokku/dependabot/docker/redis-8.0.2
chore(deps): bump redis from 8.0.1 to 8.0.2
2025-06-01 22:43:54 -04:00
dependabot[bot]
0fe00ee95b chore(deps): bump redis from 8.0.1 to 8.0.2
Bumps redis from 8.0.1 to 8.0.2.

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 8.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-01 20:30:26 +00:00
Jose Diaz-Gonzalez
6cccf014ab Merge pull request #273 from palfrey/stripped-down-default-config
Don't download default config
2025-06-01 16:29:19 -04:00
Tom Parker-Shemilt
09f1b1a858 Don't download default config 2025-05-25 19:23:05 +01:00
6 changed files with 13 additions and 11 deletions

View File

@@ -22,11 +22,11 @@ jobs:
DOKKU_VERSION: master
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.13"
@@ -64,11 +64,11 @@ jobs:
DOKKU_TAG: v0.19.0
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.13"

View File

@@ -14,7 +14,7 @@ jobs:
steps:
- name: Release
uses: softprops/action-gh-release@v2.2.2
uses: softprops/action-gh-release@v2.3.4
with:
generate_release_notes: true
make_latest: "true"

View File

@@ -1 +1 @@
FROM redis:8.0.1
FROM ccr.ccs.tencentyun.com/miaogai/redis:8.2.1

View File

@@ -1,6 +1,6 @@
# dokku redis [![Build Status](https://img.shields.io/github/actions/workflow/status/dokku/dokku-redis/ci.yml?branch=master&style=flat-square "Build Status")](https://github.com/dokku/dokku-redis/actions/workflows/ci.yml?query=branch%3Amaster) [![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku)
Official redis plugin for dokku. Currently defaults to installing [redis 8.0.1](https://hub.docker.com/_/redis/).
Official redis plugin for dokku. Currently defaults to installing [redis 8.2.1](https://hub.docker.com/_/redis/).
## Requirements

View File

@@ -47,10 +47,12 @@ service_create() {
mkdir -p "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX" || dokku_log_fail "Unable to create service config directory"
touch "$LINKS_FILE"
REDIS_SERVICE_CONFIG="$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf"
if [[ -z $REDIS_CONFIG_PATH ]]; then
curl -sSLf "https://raw.githubusercontent.com/redis/redis/${PLUGIN_IMAGE_VERSION:0:3}/redis.conf" >"$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to download the default redis.conf to the config directory"
echo "# requirepass" > $REDIS_SERVICE_CONFIG
else
cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory"
cp "$REDIS_CONFIG_PATH" "$REDIS_SERVICE_CONFIG" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory"
fi
PASSWORD=$(openssl rand -hex 32)
if [[ -n "$SERVICE_PASSWORD" ]]; then
@@ -59,7 +61,7 @@ service_create() {
fi
echo "$PASSWORD" >"$SERVICE_ROOT/PASSWORD"
chmod 640 "$SERVICE_ROOT/PASSWORD"
sed -i.bak "s/# requirepass.*/requirepass ${PASSWORD}/" "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" && rm "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf.bak"
sed -i.bak "s/# requirepass.*/requirepass ${PASSWORD}/" "$REDIS_SERVICE_CONFIG" && rm "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf.bak"
service_commit_config "$SERVICE"
write_database_name "$SERVICE"

View File

@@ -1,4 +1,4 @@
[plugin]
description = "dokku redis service plugin"
version = "1.40.0"
version = "1.40.4"
[plugin.config]