Adding Valkey to your shell
devbox add valkey, or in your Devbox.json
devbox search valkey. You can also view the available versions on
Nixhub
Valkey Plugin Details
The Valkey plugin will automatically create the following configuration when you install Valkey withdevbox add
Services
- valkey
devbox services start|stop [service] to interact with services
Helper Files
The following helper files will be created in your project directory:- {PROJECT_DIR}/devbox.d/valkey/valkey.conf
Environment Variables
Notes
Runningdevbox services start valkey will start valkey as a daemon in the background.
You can manually start Valkey in the foreground by running
valkey-server $VALKEY_CONF --port $VALKEY_PORT.
Logs, pidfile, and data dumps are stored in .devbox/virtenv/valkey. You can change this by
modifying the dir directive in devbox.d/valkey/valkey.conf
Disabling the Valkey Plugin
You can disable the Valkey plugin by runningdevbox add valkey --disable-plugin, or by setting the
disable_plugin field in your devbox.json: