Skip to content

ddev/ddev-memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.