No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin updated ContainerPilot Jul 21, 2016
etc get all the right files; make all the right directories Jul 21, 2016
Dockerfile removing microbadger Jul 22, 2016
LICENSE Initial commit Mar 23, 2016 removing microbadger Jul 22, 2016

Autopilot memcached

*Containerized memcached server, based on the official memcached Docker image, adding ContainerPilot to announce this container's memcached service to a Service Discovery layer, such as Consul or etcd.

DockerPulls DockerStars


Include this image in your Docker Compose project, query Consul for it's IP address and use it in your configurations, easily done via Consul-Template. The default ContainerPilot configuration talks to Consul and assumes the IP address to access consule is passed to the container in an envrionment varible, $CONSUL

Consider this example consul template from the AutoPilot Wordpress project

# included into wp-config.php

{{ if service "memcached" }}
# turn on WP caching
define('WP_CACHE', true);
define( 'WP_APC_KEY_SALT', '{{env "WORDPRESS_CACHE_KEY_SALT"}}' );

global $memcached_servers;

# write the address:port pairs for each healthy memcached node
$memcached_servers = array(
    {{range service "memcached"}}
{{ end }}