Skip to content

ozguramac/penr-oz-spring-aws-redis

Repository files navigation

Spring AWS Redis integration example

Reference Documentation

For further reference, please consider the following sections:

Build

$ ./gradlew build

Run

$ docker-compose up penr-oz-spring-aws-redis

Use

try

Debug

docker-compose.override.yml

version: '3'
services:
  penr-oz-spring-aws-redis:
    entrypoint: java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005
    ports:
      - "8080:8080"
      - "5005:5005"

then

$ docker-compose up penr-oz-spring-aws-redis

finally use your favorite IDE to put breakpoints and connect to debugger e.g. Intellij Remote Java which requires a correct local JDK installed.

Stop

$ docker-compose stop

Clean

$ docker-compose down

Check/Health

docker-compose ps