Skip to main content

Advanced Configuration Options

ENV variables

IRIDA Next Environment

Primary ENV Variable which sets what type of environment to run

ENV variableDescriptionDefault
RAILS_ENVOne of [production, development, test].development

Additional Options

ENV variableDescriptionDefault
RAILS_MAX_THREADSNumber of threads in the thread pool5
RAILS_HOSTURL host for the applicationexample.com
RAILS_PORTPort that the application runs on3000 when RAILS_ENV is development
RAILS_PROTOCOLProtocol the application useshttp
RAILS_DAILY_LOG_ROTATIONRotate the logs daily. For production environment only.false
RAILS_LOG_TO_STDOUTEnable logging to stdoutfalse
REDIS_URLSet the Redis URLredis://localhost:6379/1
DATABASE_URLSet the URL for the postgres databasenil
JOBS_DATABASE_URLSet the URL for the postgres jobs databasenil
PORTSet the port that Puma listens on to receive requests3000
PIDFILESet the pidfile that Puma will usetmp/pids/server.pid
RAILS_SERVE_STATIC_FILESSet to enable serving static files from /public folder. By default this is handled by Apache or NGINX.false
PUID_APP_PREFIXSet the persistent unique ID prefixINXT
SEED_ATTACHMENT_PER_SAMPLESet number of attachments per sample when seeding the database with test data2
ENABLE_CRONEnables built in cron cleanup jobs for samples, attachments, and data exports.true
CRON_CLEANUP_AFTER_DAYSSet the number of days old a deleted sample/attachment must be before it is cleaned.7