Valkey (Redis)
Valkey server from Debian (Redis protocol), on localhost:6379 only
Add to a guest
In the guest as root – container and VM alike:
update --add-modules valkeyRuns a normal update and installs the module on the way.
From the Proxmox node, without logging in:
pct exec <ID> -- update --add-modules valkey # container
ssh root@<IP> update --add-modules valkeyChoose when creating a guest
Without a dialog, on the Proxmox node:
IAC_NONINTERACTIVE=1 var_modules=auto-update,valkey \
bash -c "$(curl -fsSL https://iac.heyer.systems/<app>/ct.sh)"var_modules replaces the app's preselection – keep auto-update in the list if you want it. Interactive: choose “advanced” in the dialog, or tick the module in the generator on the app page.
Remove
update --remove-modules valkeyRemoves the module's packages, services, firewall rules and configuration again. Data stays. Apps that require the module keep it – it cannot be removed there.
Details
Valkey from Debian – the open source fork of Redis, speaks the Redis protocol.
It listens on localhost:6379 only, without a password – meant for the app in the same guest
(cache, sessions, job queues). Apps that need it list it in their iac.json and connect to
redis://127.0.0.1:6379/<0-15>.
valkey-cli ping # PONG
valkey-cli info memory # memory use
valkey-cli monitor # watch the commands of the app (Ctrl+C ends)
An existing redis-server (e.g. in an adopted guest) is stopped and disabled – Valkey takes over
its port. Own settings: /etc/valkey/valkey.conf, then systemctl restart valkey-server.
Valkey holds no data that has to be kept. When the module is removed, the package and its configuration go.