make update possible without the API_DOMAIN
This commit is contained in:
parent
7d38995613
commit
9820e5bf90
|
@ -1011,3 +1011,9 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||||
* SSE-KMS support was not working with copyObject() refer #13206
|
* SSE-KMS support was not working with copyObject() refer #13206
|
||||||
* Support UserInfo claims refer #12469
|
* Support UserInfo claims refer #12469
|
||||||
|
|
||||||
|
[2.0.0]
|
||||||
|
* **This is a major update. The changes below are required for the app to work. The newer version of the app has 2 domain names - one for the console (browser UI) and one of the API domain (API/S3 requests). **
|
||||||
|
* Be sure to take a backup before updating the app.
|
||||||
|
* Once updated, go to the `Location` view and set the API Domain.
|
||||||
|
* Update the various apps/servers/code to use the API domain as the backup destination.
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "1.167.0",
|
"version": "2.0.0",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"httpPorts": {
|
"httpPorts": {
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -8,7 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
||||||
source /app/data/env.sh
|
source /app/data/env.sh
|
||||||
|
|
||||||
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
|
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
|
||||||
export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
|
[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
|
||||||
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
|
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
|
||||||
|
|
||||||
if [[ ! -d /app/data/mc_config ]]; then
|
if [[ ! -d /app/data/mc_config ]]; then
|
||||||
|
|
|
@ -165,7 +165,6 @@ describe('Application life cycle test', function () {
|
||||||
it('can add buckets', old_addBucket);
|
it('can add buckets', old_addBucket);
|
||||||
it('can logout', old_logout);
|
it('can logout', old_logout);
|
||||||
it('can update', function () { execSync(`cloudron update --app ${LOCATION} --no-wait`, EXEC_ARGS); });
|
it('can update', function () { execSync(`cloudron update --app ${LOCATION} --no-wait`, EXEC_ARGS); });
|
||||||
it('can enable API Port', function () { execSync(`cloudron configure --app ${LOCATION} -p API_PORT=9000 -l ${LOCATION} `, EXEC_ARGS); });
|
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
|
|
||||||
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
||||||
|
|
Loading…
Reference in New Issue