Skip to content

Commit

Permalink
Merge pull request #4 from dotCMS/issue-28863-Redis-implementation-sh…
Browse files Browse the repository at this point in the history
…ould-support-ACL-authentication

chore(redis-session-manager) dotCMS/core#28863 : Redis implementation should support ACL (username + password) authentication
  • Loading branch information
jcastro-dotcms authored Jun 20, 2024
2 parents d54beb4 + 0da3618 commit 39361ee
Show file tree
Hide file tree
Showing 8 changed files with 2,520 additions and 120 deletions.
120 changes: 68 additions & 52 deletions README.markdown

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'

group = 'com.dotcms'
version = '1.1'
version = '1.2'

repositories {
mavenCentral()
Expand Down
23 changes: 23 additions & 0 deletions docker-compose-examples/redis-with-pwd/redis/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
networks:
redis_net:

volumes:
redisdata:

services:
redis:
image: "redis:latest"
command: redis-server --requirepass MY_SECRET_P4SS
ports:
- "6379:6379"
volumes:
- redisdata:/data
networks:
- redis_net


# ------------------------------------------------------------------------
# Use the following command to log into the Redis CLI:
#
# redis-cli -a MY_SECRET_P4SS
# ------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
networks:
redis_net:

services:
redis:
image: "redis:latest"
command: redis-server /data/redis.conf
ports:
- "6379:6379"
networks:
- redis_net
volumes:
- {YOUR-ABSOLUTE-PATH}/redis.conf:/data/redis.conf
- {YOUR-ABSOLUTE-PATH}/users.acl:/data/users.acl

# ------------------------------------------------------------------------
# Use the following command to log into the Redis CLI:
#
# redis-cli -h localhost -p 6379 --user dotcms --pass strongpassword
# ------------------------------------------------------------------------
Loading

0 comments on commit 39361ee

Please sign in to comment.