Open pcm32 opened 2 years ago
I'd start gravity from your supervisor config, so you only need to add a single unit there and you can use galaxyctl
for regular maintenance, and that's where you can set your options as your doing now.
Other options are to include the units in gravity/supervisor/supervisord.conf.d/_default_.d/
in your main supervisor setup, like so
[include]
files = <path_to_gravity_state_dir_with_supervisor_configs>/*
Nothing's really changed wrt how you start galaxy, we've only replaced uwsgi with gunicorn, if you want to keep using the old way of specifying processes you can. Take a look at the generated supervisor configs (https://docs.galaxyproject.org/en/master/admin/scaling.html#gunicorn)
Hi there,
we are trying to move our setup to 22.01 with gravity (the setup we use against the EBI cluster). Our setup depends partly on homebrew and the galaxy virtual env, so our previous supervisor jobs look like this:
is there a way with gravity to add all that configuration so that it ends up in the supervisor job? And also specific things that need to be sourced before the main galaxy python process is spinned (see command section)?
We also have other jobs being run by supervisor, like for instance nginx (which I guess gravity will configure), but we still do things like:
Should we avoid using gravity at all and configure web, handlers and auxiliary processes directly on supervisor? But then there is not much documentation on how to set up gunicorn for Galaxy without gravity.
Thanks!