From 512312d2fbc061e73f857d6c63d0f691f48c6b91 Mon Sep 17 00:00:00 2001 From: Andrew Graham-Yooll Date: Sat, 20 Feb 2021 19:06:32 +0100 Subject: [PATCH] Use $$cap_root_domain to help facilitate the easy setup of sentry (#364) * Use $$cap_root_domain to help facilitate the easy setup of sentry * Add http prefix --- public/v4/apps/sentry.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/v4/apps/sentry.yml b/public/v4/apps/sentry.yml index cc9a968..48d7fd9 100644 --- a/public/v4/apps/sentry.yml +++ b/public/v4/apps/sentry.yml @@ -91,7 +91,7 @@ services: - "RUN echo 'mail.use-tls: true' >> /etc/sentry/config.yml" - 'RUN echo ''mail.username: ""'' >> /etc/sentry/config.yml' - 'RUN echo ''system.admin-email: ""'' >> /etc/sentry/config.yml' - - 'RUN echo ''system.url-prefix: ""'' >> /etc/sentry/config.yml' + - 'RUN echo ''system.url-prefix: "http://$$cap_appname-sentry.$$cap_root_domain"'' >> /etc/sentry/config.yml' - RUN echo '#!/bin/bash' >> ./init.sh - RUN echo 'echo Starting configuration. The App will restart multiple times.' >> ./init.sh - "RUN echo 'echo 1 of 4 : running upgrade' >> ./init.sh"