1. galaxy
  2. galaxy-central
  3. Pull requests

Pull requests

#44 Merged at 7566c91
Repository
galaxy-central-roles-api-fixes
Branch
default
Repository
galaxy-central
Branch
default

Allow usage of directory of configuration files in lieu of single universe.ini

Author
  1. John Chilton
Reviewers
Description

It is an idea I had, I think it would be useful in various deployment scenarios. Thoughts?

From commit: Augment run.sh to search for the optional environment variable GALAXY_UNIVERSE_CONFIG_DIR. If this is set, before Galaxy is launched the directory specified by the environment variable is searched for ini config files. These files are merged into a single configuration structure and written back out as universe.ini.

This should allow for a more modular configuration of Galaxy. The files are merged in lexiographic order and later files can override properties specified ealier on. If a consistent naming scheme is used this can be really useful:

As an example, one might specify the files as such:

000_galaxy_defaults.ini 000_default_sqlite_config.ini 100_institution_specific.ini 500_job_runner.ini 500_webapp_0.ini 500_webapp_1.ini 600_instance_specific.ini 600_available_postgres.ini

Comments (0)