Sign inSign up

scalingo/redis

By scalingo

•Updated 25 days ago

Image of the Redis instances of Scalingo PaaS

Image
0

500K+

scalingo/redis repository overview

⁠Running the image

This image contains redis. To start the image, you can run the following snippet:

docker run -it -p 6379:6379 \
           -v <DATA_DIRECTORY>:/var/lib/redis \
           scalingo/redis /redis

You database is now up and running on the port 6379 of your host.

⁠Parameters

  • <DATA_DIRECTORY>: directory used to store database data.

⁠Environment

  • DB_PASSWORD (Optional, default: null): password used for database authentication.

  • DB_UID (Optional, default: 1502): user UID that redis should use to store data and run itself. You can set it to your own UID to have a simpler dev environment. Just add -e DB_UID=`id -u` before the -v flag.

  • REDIS_RDB_ENABLED (Optional, default true): if false, disable default persistence model (snapshoting)

  • REDIS_AOF_ENABLED (Optional, default false)

  • REDIS_CACHE_ENABLED (Optional, default false)

  • DB_MEMORY (Optional, default: 512): max size (in megabytes) of the cache (cache should be enabled)

If none of REDIS_RDB_ENABLED nor REDIS_AOF_ENABLED are set to true, redis won't persis any data on disk

⁠Startup logs

Normal startup logs are :

             _._
        _.-``__ ''-._
   _.-``    `.  `_.  ''-._           Redis 4.0.7 (00000000/0) 64 bit
.-`` .-```.  ```\/    _.,_ ''-._
(    '      ,       .-`  | `,    )     Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
|    `-._   `._    /     _.-'    |     PID: 9
`-._    `-._  `-./  _.-'    _.-'
|`-._`-._    `-.__.-'    _.-'_.-'|
|    `-._`-._        _.-'_.-'    |           http://redis.io
`-._    `-._`-.__.-'_.-'    _.-'
|`-._`-._    `-.__.-'    _.-'_.-'|
|    `-._`-._        _.-'_.-'    |
`-._    `-._`-.__.-'_.-'    _.-'
   `-._    `-.__.-'    _.-'
       `-._        _.-'
           `-.__.-'

9:M 31 Jan 08:33:34.343 # Server started, Redis version 4.0.7
9:M 31 Jan 08:33:34.343 * The server is now ready to accept connections on port 6379

Tag summary

Content type

Image

Digest

sha256:da86de1df…

Size

22.4 MB

Last updated

over 2 years ago

docker pull scalingo/redis