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.
Ports
Add an allocation on the node for each port.
- Server 6379
Install
- Installer image
- ghcr.io/ptero-eggs/installers:alpine
- Install script
- 19 lines
Image
- Redis 7 ghcr.io/ptero-eggs/yolks:redis_7
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
1 variable
Startup command
/usr/local/bin/redis-server /home/container/redis.conf --save 60 1 --dir /home/container/ --bind 0.0.0.0 --port 6379 --requirepass P@55w0rd --maxmemory 1024mb --daemonize yes && redis-cli -p 6379; redis-cli -p 6379 -a P@55w0rd shutdown saveDotted values come from the server settings. These values are examples.
The password redis should use to secure the server.
SERVER_PASSWORDUsers can edit
required|string
Wings
- Stop command
- ^C (SIGINT)
- Running when the console shows
- Configuration loaded
Readme
Redis
From their Website
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 |
Changes
- Redis: Update config URLs
· Red Banana · a166c30
- Add database eggs
· Daniel Barton · da2fc87
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 19 lines ash in ghcr.io/ptero-eggs/installers:alpine Show Hide
#!/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/Ptero-Eggs/application-eggs/main/database/redis/redis-7/redis.conf -o redis.conf
fi
sleep 5
echo -e "Install complete. Made this to not have issues."