From 7856a1ea4bc46c8912dafa3fa48cbde1d7480467 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 5 May 2020 10:53:11 +0100 Subject: [PATCH] expose matomo over ssl --- docker-compose.yml | 4 ++-- ghost/post.hbs | 15 +++++++++++++++ letsencrypt-nginx/conf/git.conf | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1140f0b..3b5697b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,7 @@ services: - REGISTRY_PROXY_PASS=http://registry-1:5000 - PORTAINER_PROXY_PASS=http://portainer:9000/ - PORTAINER_LOCATION=/portainer/ + - MATOMO_PROXY_PASS=http://matomo/ - GIT_LOCATION=/git/ - BLOG_LOCATION=/ - CHAT_LOCATION=/chat/ @@ -43,6 +44,7 @@ services: - 5000:5000 - 5001:5001 - 5005:5005 + - 8080:5006 letsencrypt-drone: # reverse proxy for drone in a subdomain deploy: @@ -346,8 +348,6 @@ services: - matomo:/var/www/html:ro # see https://github.com/matomo-org/matomo-nginx - ./matomo/matomo.conf:/etc/nginx/conf.d/default.conf:ro - ports: - - 8080:80 networks: - appnet matomo-mariadb: diff --git a/ghost/post.hbs b/ghost/post.hbs index c480772..5058fe0 100644 --- a/ghost/post.hbs +++ b/ghost/post.hbs @@ -176,6 +176,21 @@ into the {body} of the default.hbs template --}} {{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}} {{#contentFor "scripts"}} + + +