close
The Wayback Machine - https://web.archive.org/web/20200915194002/https://github.com/redisson/redisson-docker
Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

redisson-docker

Docker container for Redisson Node

Supported tags and respective Dockerfile links

What is Redisson?

Redisson is Redis Java client and In-Memory Data Grid. It provides Distributed objects, Distributed collections, Distributed locks and synchronizers, Distributed services, Spring Framework integration, Spring Cache implementation, Spring Transaction API implementation, Spring Data Redis integration, Spring Boot Starter implementation, Transaction API, Tomcat Session Manager implementation, Spring Session implementation

Image Variants

Redisson Node container has two variants:

redisson-node:<version>

Default image. Based on OpenJDK 1.8 image

redisson-node:<version>-ubuntu

Based on Ubuntu 18.04 image with OpenJDK package.

1. How to run OpenJDK based container

1. Run with Redis

Run Redis

docker run -d --name redis-node redis

Run Redisson Node

docker run -d --network container:redis-node -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1

with JAVA_OPTS parameters

docker run -d --network container:redis-node -e JAVA_OPTS="-Xmx1g" -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1

<path-to-config> - path to Redisson Node config

2. Run with external Redis

Run Redisson Node

docker run -d -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1

with JAVA_OPTS parameters

docker run -d -e JAVA_OPTS="-Xmx1g" -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1

<path-to-config> - path to Redisson Node config

2. How to run Ubuntu based container

1. Run with Redis

Run Redis

docker run -d --name redis-node redis

Run Redisson Node

docker run -d --network container:redis-node -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1-ubuntu

with JAVA_OPTS parameters

docker run -d --network container:redis-node -e JAVA_OPTS="-Xmx1g" -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1-ubuntu

<path-to-config> - path to Redisson Node config

2. Run with external Redis

Run Redisson Node

docker run -d -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1-ubuntu

with JAVA_OPTS parameters

docker run -d -e JAVA_OPTS="-Xmx1g" -v <path-to-config>:/opt/redisson-node/redisson.conf redisson/redisson-node:3.12.1-ubuntu

<path-to-config> - path to Redisson Node config

About

Dockerfile for Redisson Node

Resources

License

Packages

No packages published
You can’t perform that action at this time.