зеркало из https://github.com/mozilla/Spoke.git
Feature/turkey docker update (#1246)
move env var configs to container entrypoint to remove the needs to update the k8s-deployment for subdomain changes
This commit is contained in:
Родитель
d98a535b94
Коммит
753b474250
|
@ -1,3 +1,14 @@
|
|||
|
||||
export turkeyCfg_thumbnail_server="nearspark.reticulum.io"
|
||||
export turkeyCfg_base_assets_path="https://$SUB_DOMAIN-assets.$DOMAIN/spoke/"
|
||||
export turkeyCfg_non_cors_proxy_domains="$SUB_DOMAIN.$DOMAIN,$SUB_DOMAIN-assets.$DOMAIN"
|
||||
export turkeyCfg_cors_proxy_server="$SUB_DOMAIN-cors.$DOMAIN"
|
||||
export turkeyCfg_ga_tracking_id=""
|
||||
export turkeyCfg_hubs_server="$SUB_DOMAIN.$DOMAIN"
|
||||
export turkeyCfg_is_moz="false"
|
||||
export turkeyCfg_reticulum_server="$SUB_DOMAIN.$DOMAIN"
|
||||
export turkeyCfg_sentry_dsn=""
|
||||
|
||||
find /www/spoke/ -type f -name *.html -exec sed -i "s~{{rawspoke-base-assets-path}}\/~${turkeyCfg_base_assets_path}~g" {} \;
|
||||
find /www/spoke/ -type f -name *.html -exec sed -i "s~{{rawspoke-base-assets-path}}~${turkeyCfg_base_assets_path}~g" {} \;
|
||||
find /www/spoke/ -type f -name *.css -exec sed -i "s~{{rawspoke-base-assets-path}}\/~${turkeyCfg_base_assets_path}~g" {} \;
|
||||
|
|
Загрузка…
Ссылка в новой задаче