Redis-7
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams.
Exported:Author: parker@parkervcp.comVersion: PTDL_v2
README
# Redis ## From their [Website](https://redis.io/) Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. ## Server Startup You must first authenticate before trying to execute commands, to do this run `AUTH <YOUR_PASSWORD_HERE>` (without the `<>`). This should be the same as the password set in the `SERVER_PASSWORD` variable. ## Minimum RAM warning It's recommended to have 4gb of RAM for redis See here <https://docs.redislabs.com/latest/rs/administering/designing-production/hardware-requirements/> ## Server Ports Ports required to run the server in a table format. | Port | default | |---------|---------| | Server | 6379 |
Startup Command
/usr/local/bin/redis-server /home/container/redis.conf --save 60 1 --dir /home/container/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save