Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.3 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.3 KB

tests project is maintained

What is this?

This repository allows you to quickly install Memcached into a DDEV project using ddev get ddev/ddev-memcached.

Installation

For DDEV v1.23.5 or above run

ddev add-on get ddev/ddev-memcached && ddev restart

For earlier versions of DDEV run

ddev get ddev/ddev-memcached && ddev restart

Explanation

This Memcached recipe for DDEV installs a .ddev/docker-compose.memcached.yaml using the memcached Docker image.

Interacting with Memcached

  • The Memcached instance will listen on TCP port 11211 (the Memcached default).
  • Configure your application to access Memcached on the host:port memcached:11211.
  • To reach the Memcached admin interface, run ddev ssh to connect to the web container, then use nc or telnet to connect to the Memcached container on port 11211, i.e. nc memcached 11211. You can then run commands such as stats to see usage information. See cheatsheet for more commands.