Public Repository

Last pushed: 5 months ago
Short Description
Sample application that uses Redis to store data
Full Description

build docker image from root

mvn clean package docker:build

Run redis

docker run -d -p 6379:6379 --name redis -v /Users/afayes/Dropbox/personal/programming/docker/code/gs-spring-boot-docker/initial:/data redis redis-server --appendonly yes

Run app

docker run --link redis:redis -d -p 8080:8080 -e redis_host=redis afayes/gs-spring-boot-docker

API

Verb URI Description
GET / Home
GET /add Add a person
POST /list List people

API

Verb URI Description
GET / Home
GET /add Add a person
POST /list List people
Docker Pull Command
Owner
afayes

Comments (0)