From 8eeccb06c66ceebe91fb5a3323d9aa224d2a2309 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Tue, 24 Jan 2017 16:02:31 +0100 Subject: [PATCH] Introducing Grafista prototype to display stats We configure haproxy to serve /stats as a separate app (from the grafista container). --- docker/docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 15f3f8e..cdf480d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -39,6 +39,16 @@ blender_cloud: # VIRTUAL_HOST: https://cloud.blender.org/notifications*,http://pillar-web/notifications* # VIRTUAL_HOST_WEIGHT: 20 # FORCE_SSL: true +grafista: + image: armadillica/grafista + container_name: grafista + restart: always + environment: + VIRTUAL_HOST: http://cloud.blender.org/stats/*,https://cloud.blender.org/stats/*,http://blender-cloud/stats/* + FORCE_SSL: "true" + volumes: + - /data/git/grafista:/data/git/grafista:ro + - /data/storage/grafista:/data/storage haproxy: image: dockercloud/haproxy container_name: haproxy @@ -51,6 +61,7 @@ haproxy: - TIMEOUT=connect 5s, client 5m, server 10m links: - blender_cloud + - grafista # - notifserv volumes: - '/data/certs:/certs'