Revert "Updated deprecated setting name"

This reverts commit 4a12eaa4e2.
This commit is contained in:
2025-09-04 11:04:41 +01:00
parent 7cbf04865d
commit fdac0efa0f
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
INVENIO_TRUSTED_HOSTS=["invenio.am-d-model.eu"] INVENIO_APP_ALLOWED_HOSTS=["invenio.am-d-model.eu"]
INVENIO_S3_ENDPOINT_URL="https://s3.eu-west-1.amazonaws.com" INVENIO_S3_ENDPOINT_URL="https://s3.eu-west-1.amazonaws.com"
INVENIO_S3_REGION_NAME="eu-west-1" INVENIO_S3_REGION_NAME="eu-west-1"
INVENIO_S3_BUCKET_NAME="am-d-model-data-repository" INVENIO_S3_BUCKET_NAME="am-d-model-data-repository"

View File

@@ -53,7 +53,7 @@ services:
- INVENIO_ENV=production - INVENIO_ENV=production
# Flask # Flask
- INVENIO_TRUSTED_HOSTS=${INVENIO_TRUSTED_HOSTS:-['0.0.0.0', 'localhost', '127.0.0.1']} - INVENIO_APP_ALLOWED_HOSTS=${INVENIO_APP_ALLOWED_HOSTS:-['0.0.0.0', 'localhost', '127.0.0.1']}
# Flask-SQLAlchemy # Flask-SQLAlchemy
- INVENIO_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://${POSTGRES_USER:-inveniordm}:${POSTGRES_PASSWORD:-inveniordm}@db/${POSTGRES_DB:-inveniordm} - INVENIO_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://${POSTGRES_USER:-inveniordm}:${POSTGRES_PASSWORD:-inveniordm}@db/${POSTGRES_DB:-inveniordm}

View File

@@ -83,7 +83,7 @@ SEND_FILE_MAX_AGE_DEFAULT = 300
# provided, the allowed hosts variable is set to localhost. In production it # provided, the allowed hosts variable is set to localhost. In production it
# should be set to the correct host and it is strongly recommended to only # should be set to the correct host and it is strongly recommended to only
# route correct hosts to the application. # route correct hosts to the application.
TRUSTED_HOSTS = ["localhost", "127.0.0.1"] APP_ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
# Flask-SQLAlchemy # Flask-SQLAlchemy