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
This commit is contained in:
Andrew Graham-Yooll 2021-02-20 19:06:32 +01:00 committed by GitHub
parent c3b2e34813
commit 512312d2fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ services:
- "RUN echo 'mail.use-tls: true' >> /etc/sentry/config.yml" - "RUN echo 'mail.use-tls: true' >> /etc/sentry/config.yml"
- 'RUN echo ''mail.username: ""'' >> /etc/sentry/config.yml' - 'RUN echo ''mail.username: ""'' >> /etc/sentry/config.yml'
- 'RUN echo ''system.admin-email: ""'' >> /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 '#!/bin/bash' >> ./init.sh
- RUN echo 'echo Starting configuration. The App will restart multiple times.' >> ./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" - "RUN echo 'echo 1 of 4 : running upgrade' >> ./init.sh"