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.
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.
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.
It's recommended to have 4gb of RAM for redis
See here https://docs.redislabs.com/latest/rs/administering/designing-production/hardware-requirements/
Ports required to run the server in a table format.
Port | default |
---|---|
Server | 6379 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:redis_6 | ghcr.io/ptero-eggs/yolks:redis_6 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Redis Password | The password redis should use to secure the server. | SERVER_PASSWORD | P@55w0rd | Yes | Yes |
#!/bin/ash
# Redis Installation Script
#
# Server Files: /mnt/server
apk add --no-cache curl
if [ ! -d /mnt/server ]; then
mkdir /mnt/server/
fi
cd /mnt/server/
if [ ! -d /mnt/server/redis.conf ]; then
curl https://raw.githubusercontent.com/parkervcp/eggs/master/database/redis/redis-6/redis.conf -o redis.conf
fi
sleep 5
echo -e "Install complete. Made this to not have issues."