Redis - Features, integrations, alternatives & more
What it does
How it works
The Redis service runs as a separate container but in the same network as the action to which is attached. This includes other services attached to the action. Buddy runs main action commands only once the service is fully initialized. There is no need to check Redis availability on your own. The service is terminated once the action is completed. The service is cacheable it means data generated and stored by the service can be set persistent between action executions.
How to connect to the service from the action, example:
redis-cli -h redis -p 6379 ping
"redis" is a default hostname for the service (settable in the service options)
Redis service features:
- Version setting including latest tag (the versions are pulled from Docker Hub)
- Hostname setting for connecting between action and other services
- The port is fixed (6379) and can’t be changed
- Cache database between executions flag. Use this option to speed up your exactions if no fresh or clean MariaDB instance is required.