Switched to production mode

This commit is contained in:
2025-02-14 16:14:04 +00:00
parent 8cb672fe08
commit b1be42f962

View File

@@ -37,6 +37,9 @@ services:
- ./invenio_assets:/opt/invenio/var/instance/static/custom_assets # Add static assets for theming - ./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 - ./invenio.cfg:/opt/invenio/var/instance/invenio.cfg # Override the config with our custom one
environment: environment:
# Production mode
- INVENIO_ENV=production
# Flask # Flask
- INVENIO_APP_ALLOWED_HOSTS=${INVENIO_APP_ALLOWED_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']}