We use the official Memcached image.
Memcached is an optional service and is not installed or enabled by default. To enable it, add the memcached.yml file to your COMPOSE_FILE list in the .env file. For example, on Unix systems:
COMPOSE_FILE=docker-compose.yml:opt/memcached.ymlAfter updating the .env file, run docker compose up -d --remove-orphans to start the service.
| Parameter | Value |
|---|---|
| Host | memcached (from a container)localhost (from your computer) |
| Port | 11211 |