From cfdf1a078bb33cf86d1d0e8fa93c969820d31473 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 14 Feb 2025 16:14:04 +0000 Subject: [PATCH] Switched to production mode --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0808ab4..d90c5db 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -37,6 +37,9 @@ services: - ./invenio_assets:/opt/invenio/var/instance/static/custom_assets # Add static assets for theming - ./invenio.cfg:/opt/invenio/var/instance/invenio.cfg # Override the config with our custom one environment: + # Production mode + - INVENIO_ENV=production + # Flask - INVENIO_APP_ALLOWED_HOSTS=${INVENIO_APP_ALLOWED_HOSTS:-['0.0.0.0', 'localhost', '127.0.0.1']}