fix: change app.mediaBaseURL to media.baseURL in install, docker entrypoints and docs
This commit is contained in:
parent
0cb2e99f03
commit
b3c6e05e6f
|
@ -14,7 +14,7 @@
|
|||
# Instance configuration
|
||||
#--------------------------------------------------------------------
|
||||
app.baseURL="https://YOUR_DOMAIN_NAME/"
|
||||
app.mediaBaseURL="https://YOUR_MEDIA_DOMAIN_NAME/"
|
||||
media.baseURL="https://YOUR_MEDIA_DOMAIN_NAME/"
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ fi
|
|||
|
||||
cat << EOF > /opt/castopod/.env
|
||||
app.baseURL="${CP_BASEURL}"
|
||||
app.mediaBaseURL="${CP_MEDIA_BASEURL}"
|
||||
media.baseURL="${CP_MEDIA_BASEURL}"
|
||||
EOF
|
||||
|
||||
if [ "${CP_DISABLE_HTTPS}" == "1" ]
|
||||
|
|
|
@ -107,7 +107,7 @@ fi
|
|||
|
||||
cat << EOF > /var/www/castopod/.env
|
||||
app.baseURL="${CP_BASEURL}"
|
||||
app.mediaBaseURL="${CP_MEDIA_BASEURL}"
|
||||
media.baseURL="${CP_MEDIA_BASEURL}"
|
||||
EOF
|
||||
|
||||
if [ "${CP_DISABLE_HTTPS}" = "1" ]
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -43,7 +43,7 @@ to help you kickstart your contribution.
|
|||
app.forceGlobalSecureRequests=false
|
||||
|
||||
app.baseURL="http://localhost:8080/"
|
||||
app.mediaBaseURL="http://localhost:8080/"
|
||||
media.baseURL="http://localhost:8080/"
|
||||
|
||||
admin.gateway="cp-admin"
|
||||
auth.gateway="cp-auth"
|
||||
|
|
|
@ -167,7 +167,7 @@ class InstallController extends Controller
|
|||
$mediaBaseUrl = $this->request->getPost('media_base_url');
|
||||
self::writeEnv([
|
||||
'app.baseURL' => $baseUrl,
|
||||
'app.mediaBaseURL' =>
|
||||
'media.baseURL' =>
|
||||
$mediaBaseUrl === '' ? $baseUrl : $mediaBaseUrl,
|
||||
'analytics.salt' => generate_random_salt(64),
|
||||
'admin.gateway' => $this->request->getPost('admin_gateway'),
|
||||
|
|
Loading…
Reference in New Issue