-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
config.py
contains configuration options. You will probably need to
change at least DB_URI
to match your Cromwell configuration. You can
also change any of the values in config.py by setting environment variables.
The following variables can be changed:
The address to broadcast the service on. If set to '0.0.0.0'
, the
service will be broadcast publicly. If set to '127.0.0.1'
, the service
will be accessible only to the host.
The full URL where the Cromwell API can be reached. By default this is
'http://localhost:8000'
Directory in which to store workflow definitions.
A secret key used to encrypt authorization tokens.
A string which will be placed in the navbar.
The url for the bootstrap.min.css
file which contains styles for the
Bootstrap framework used by this service.
The default is the Flatly theme from
Bootswatch.
The location of the log file. The default is error.log
in this
directory.
The location of womtool-xx.jar
The URL of an additional theme for the
CodeMirror code editor. Additional themes can
be found here. Theme CSS files
are found in the theme
directory (for example,
https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.4/theme/idea.min.css
)
A demo of the various themes can be found
here
The name of the theme contained in CODEMIRROR_THEME_CSS
(for example,
'idea'
in the example given above.
A list of POSIX groups a user must be a member of at least one of to
login to the service. In config.py
this is a list of
grp.struct_group
. In an environment variable, they are specified as a
list of groups separated by commas (e.g. 'cromwell,jobserver'
). By
default, all users are allowed to login to the service.
A list of POSIX groups a user must be a member of at least one of to
have administrator access to the service (the ability to edit records
owned by all users). In config.py
this is a list of
grp.struct_group
. In an environment variable the groups are specified
as a list of group names separated by commas (e.g.
'administrator,manaager'
. By default, users in sudo
and admin
have
administrator access on the service.
The connection string for a SQL database. The full URI has the format
'dialect+driver://user:password@host:port/database'
. See the
SQLAlchemy documentation
for more information.