Skip to content
worker-low
The low priority queue: the jobs of the Jobs dashboard, which run there by default (JOBS_DEFAULT_QUEUE), and the batches of a works import. A worker of its own, so a long job doesn’t hold up the default queue, with a few processes, since every record an import saves reads the commonmeta store. No –beat: only one worker may run the schedule.
Platform: linux/amd64

Command:

[ "celery", "-A", "invenio_app.celery", "worker", "--queues=low", "--hostname=low@%h", "--concurrency=${CELERY_LOW_CONCURRENCY:-2}", "--events", "--loglevel=WARNING" ]
COMMONMETA_DB
Commonmeta store (ROR organizations and ORCID persons) for invenio-pidbox, mounted from the host directory COMMONMETA_HOST_DIR (see the web and worker volumes). The store is in WAL mode, which SQLite can only read where it can create the -shm file beside it, so the mount is read-write and the host directory must be writable by the container’s group (gid 0): chmod 775 /var/lib/commonmeta The database file stays read-only to the container (mode 444, owned by root). commonmeta write commands run on the host while the containers read.
/var/lib/commonmeta/commonmeta.sqlite3
INVENIO_ACCOUNTS_SESSION_REDIS_URL
Invenio-App Caches and Workers User sessions. The config derives the other Redis/Valkey URLs from it: Celery broker (database + 1), results (+ 2), rate limits (+ 3) and cache (+ 4).
redis://cache:6379/0
INVENIO_ADMIN_EMAIL
Admin user
info@inveniosoftware.org
INVENIO_ADMIN_PASSWORD
changeme
INVENIO_BABEL_DEFAULT_LOCALE
Flask-Babel
en
INVENIO_BABEL_DEFAULT_TIMEZONE
UTC
INVENIO_CELERY_WORKER_MAX_TASKS_PER_CHILD
200
INVENIO_CELERY_WORKER_REDIRECT_STDOUTS
False
INVENIO_DATACITE_DATACENTER_SYMBOL
INVENIO_DATACITE_ENABLED
False
INVENIO_DATACITE_PASSWORD
INVENIO_DATACITE_PREFIX
INVENIO_DATACITE_TEST_MODE
Production mode rather than InvenioRDM’s test mode, once DataCite is on.
False
INVENIO_DATACITE_USERNAME
INVENIO_DEBUG
Logging
False
INVENIO_LOGGING_CONSOLE_LEVEL
Level of the messages logged to the console and to files.
WARNING
INVENIO_LOGGING_FS_LEVEL
WARNING
INVENIO_MAIL_DEFAULT_SENDER
INVENIO_MAIL_PASSWORD
INVENIO_MAIL_PORT
587
INVENIO_MAIL_SERVER
127.0.0.1
INVENIO_MAIL_SUPPRESS_SEND
Mail Don’t send emails; False turns sending on.
True
INVENIO_MAIL_USE_SSL
False
INVENIO_MAIL_USE_TLS
True
INVENIO_MAIL_USERNAME
info
INVENIO_OAISERVER_ID_PREFIX
Invenio-OAIServer: the worker publishes records too, so both need the prefix for the OAI identifiers they mint.
invenio-rdm
INVENIO_RATELIMIT_AUTHENTICATED_USER
Request limits for signed-in users.
60000 per hour;1100 per minute
INVENIO_RATELIMIT_ENABLED
Rate limiting
True
INVENIO_RATELIMIT_GUEST_USER
Request limits for anonymous users.
30000 per hour;500 per minute
INVENIO_RDM_ALLOW_EXTERNAL_DOI_VERSIONING
Don’t allow records with external DOIs to be versioned.
False
INVENIO_RDM_ALLOW_METADATA_ONLY_RECORDS
Invenio-RDM-Records
True
INVENIO_RDM_ALLOW_RESTRICTED_RECORDS
Records can be restricted, not only public.
True
INVENIO_RDM_CITATION_STYLES_DEFAULT
The citation style selected by default.
apa
INVENIO_RDM_CITATION_STYLES_LIST
The citation styles offered on the landing page, comma-separated; the config builds RDM_CITATION_STYLES from them. Not INVENIO_RDM_CITATION_STYLES: invenio-config would replace the list with this string.
apa,chicago-author-date,harvard-cite-them-right,ieee,vancouver
INVENIO_S3_ACCESS_KEY_ID
INVENIO_S3_BUCKET_NAME
INVENIO_S3_REGION_NAME
us-east-1
INVENIO_S3_SECRET_ACCESS_KEY
INVENIO_SEARCH_HOSTS
Invenio-Search
['search:9200']
INVENIO_SEARCH_INDEX_PREFIX
Prefix of the search indices, so that instances can share a cluster.
invenio-rdm-
INVENIO_SECURITY_EMAIL_SENDER
INVENIO_SEND_FILE_MAX_AGE_DEFAULT
Flask core runtime tuning How long browsers cache public files, in seconds.
300
INVENIO_SENTRY_DSN
Error reports to GlitchTip or Sentry (invenio-logging).
INVENIO_SITE_API_URL
https://localhost/api
INVENIO_SITE_UI_URL
Base URLs of the web pages and of the REST API.
https://localhost
INVENIO_SQLALCHEMY_DATABASE_URI
Flask-SQLAlchemy
postgresql+psycopg2://postgres:postgres@db/inveniordm
PROMETHEUS_MULTIPROC_DIR
Prometheus multiprocess metrics (Gunicorn)
/tmp/prometheus_multiproc
XDG_CACHE_HOME
Writable download cache for commonmeta; the container user has no writable HOME. Ephemeral by design.
/tmp/commonmeta-cache