Public | Automated Build

Last pushed: 2 years ago
Short Description
Redis services in NiceScale Platform, you can get redis through official site http://nicescale.com
Full Description

redis

redis server for docker

Build

docker build -t nicescale/redis .

Run

  . path.ini

  mkdir $HOME/data

  mkdir $HOME/log

  docker run -d --name redserver -v $HOME/data:$data -v $HOME/log:$log nicescale/redis

Redis data locate in $HOME/data and log locate in $HOME/log

Connect to redis server

  docker run --rm -it --link=redserver:red nicescale/redis sh -c "redis-cli -h $RED_PORT_6379_TCP_ADDR"

Logs

Cron run in docker for logrotate

Docker Pull Command
Owner
nicescale
Source Repository

Comments (0)