i run redis in docker .my docker ip is and redis port 32768

but my spring session default host & port is and 6379 

for change redis port in docker i run container by " docker-compose up " command

using this file docker-compose.yml


  image: redis


     - "6379:6379"

after run docker i can monitor to redis by this command
telnet 6379
and redis is ok

but after run spring session and redis i can not connect to them 
after search i know that how change default host in spring boot application.yml