Compare commits

...

13 Commits

Author SHA1 Message Date
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
5 changed files with 9 additions and 7 deletions

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.2
with:
generate_release_notes: true
make_latest: "true"

View File

@@ -1 +1 @@
FROM redis:8.0.1
FROM redis:8.2.0

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.0](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.3"
[plugin.config]