mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
Revert "Updated deprecated setting name"
This reverts commit 4a12eaa4e2.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user