summaryrefslogtreecommitdiffstats
path: root/docker/blocks/option_cache_memcache
diff options
context:
space:
mode:
authorTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-29 18:20:15 +0200
committerTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-31 21:00:19 +0200
commitd1a2228f1cc1b0bec7023d226077e4002c07112a (patch)
tree7eed4c06a198972dd907806bb1df8c3c2f1a45d5 /docker/blocks/option_cache_memcache
parent2886eb76b69102f7c2fc7db3516567c677148057 (diff)
downloadgitea-d1a2228f1cc1b0bec7023d226077e4002c07112a.tar.gz
gitea-d1a2228f1cc1b0bec7023d226077e4002c07112a.zip
Docker mix and match setup
Rewrite of the docker setup. Now uses fig to manage containers and container linkage. The base is a block based mix and match, which will give you the possibility to easily test all configurations.
Diffstat (limited to 'docker/blocks/option_cache_memcache')
-rw-r--r--docker/blocks/option_cache_memcache/config3
-rw-r--r--docker/blocks/option_cache_memcache/fig2
2 files changed, 5 insertions, 0 deletions
diff --git a/docker/blocks/option_cache_memcache/config b/docker/blocks/option_cache_memcache/config
new file mode 100644
index 0000000000..daca6f3ef9
--- /dev/null
+++ b/docker/blocks/option_cache_memcache/config
@@ -0,0 +1,3 @@
+[cache]
+DB_TYPE = memcache
+HOST = HOST = ${CACHE_1_PORT_11211_TCP_ADDR}:${CACHE_1_PORT_11211_TCP_PORT}
diff --git a/docker/blocks/option_cache_memcache/fig b/docker/blocks/option_cache_memcache/fig
new file mode 100644
index 0000000000..80d0215cc7
--- /dev/null
+++ b/docker/blocks/option_cache_memcache/fig
@@ -0,0 +1,2 @@
+cache:
+ image: sylvainlasnier/memcached:latest