Usage:
make COMMAND [params ...]
commands:
check-ready host=<memcached> max_try=<8> wait_seconds=<5>
flushall host=<memcached>
default params values:
host localhost
max_try 30
wait_seconds 1
Examples:
# Check if Memcached is ready
docker exec -ti [ID] make check-ready -f /usr/local/bin/actions.mk
# Flush all cache
docker exec -ti [ID] make flushall host=memcached -f /usr/local/bin/actions.mk
You can skip -f option if you use run instead of exec.
Deploy Memcached container to your own server via Wodby.