Просмотр исходного кода

tech(): updated list of docker stuff

Torkel Ödegaard 9 лет назад
Родитель
Сommit
0555525f97

+ 6 - 0
docker/blocks/collectd/collectd.conf.tpl

@@ -17,6 +17,7 @@ LoadPlugin write_graphite
 LoadPlugin processes
 LoadPlugin aggregation
 LoadPlugin match_regex
+# LoadPlugin memcached
 
 <Plugin df>
   # expose host's mounts into container using -v /:/host:ro  (location inside container does not matter much)
@@ -72,6 +73,11 @@ LoadPlugin match_regex
   IgnoreSelected true
 </Plugin>
 
+# <Plugin "memcached">
+#   Host "memcached"
+#   Port "11211"
+# </Plugin>
+
 <Chain "PostCache">
   <Rule>
     <Match regex>

+ 1 - 0
docker/blocks/collectd/fig

@@ -9,3 +9,4 @@ collectd:
     COLLECT_INTERVAL: 10
   links:
     - graphite
+    - memcached

+ 5 - 0
docker/blocks/memcached/fig

@@ -0,0 +1,5 @@
+memcached:
+  image: memcached:latest
+  ports:
+    - "11211:11211"
+