diff --git a/scripts/docker/run.sh b/scripts/docker/run.sh index 7d2c6605..483d25ab 100644 --- a/scripts/docker/run.sh +++ b/scripts/docker/run.sh @@ -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" {} \;