Skip to content

RiccardoCurcio/memcached-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcrouter memcached docker

Create .env end edit it

$ cp .env.example .env
$ vim .env
# Base
ENV=local
PREFIX=local

#mcrouter
MCROUTER_HOST=127.0.0.1
MCROUTER_PORT=11211

# memchaced
MEMCACHED_HOST_REPLICA_1=127.0.0.1
MEMCACHED_PORT_REPLICA_1=11212

MEMCACHED_HOST_REPLICA_2=127.0.0.1
MEMCACHED_PORT_REPLICA_2=11213

MEMCACHED_HOST_REPLICA_3=127.0.0.1
MEMCACHED_PORT_REPLICA_3=11214

MEMCACHED_HOST_REPLICA_4=127.0.0.1
MEMCACHED_PORT_REPLICA_4=11215

Build

docker-compose build --no-cache

Run

docker-compose up -d