Age | Commit message (Collapse) | Author |
|
The most useful options (e.g. "--workers", "--timeout", "--env") have
dedicated slots in the <gunicorn-app> structure. These, however, are
not the only options available to pass to gunicorn at startup. This
commit allows us to pass in a list of any extra CLI options we want on
the CLI.
* guix/forge/gunicorn.scm (<gunicorn-app>)[extra-cli-arguments]: New
field.
(gunicorn-shepherd-services): Use extra-cli-arguments field.
* doc/forge.skb (Services)[Specialized application deployment
services]{gunicorn service}<gunicorn-app>: Document extra-cli-arguments field.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* guix/forge/gunicorn.scm (<gunicorn-app>)[timeout]: New field.
* guix/forge/gunicorn.scm (gunicorn-shepherd-services): Pass --timeout
parameter.
* doc/forge.skb (Reference)[Specialized application deployment
services]{gunicorn service}<gunicorn-app>: Document timeout field.
|
|
Provisioning the 'gunicorn symbol is problematic when there are
multiple gunicorn apps running.
* guix/forge/gunicorn.scm (gunicorn-shepherd-services): Provision
app-specific symbol.
|
|
* guix/forge/gunicorn.scm: Import python instead of python-minimal.
(gunicorn-shepherd-services): Use python, not python-minimal, to
construct app profile.
|
|
* guix/forge/gunicorn.scm: Import (forge environment).
(gunicorn-shepherd-services): Use <environment-variable> record.
* doc/forge.skb (Services)[Specialized application deployment
services]{gunicorn service}: Document it.
* guix/forge/klaus.scm: Import (forge environment).
(klaus-gunicorn-app): Use <environment-variable> record.
|
|
* guix/forge/gunicorn.scm (socket->gunicorn-bind): Support
<forge-host-socket> sockets.
* doc/forge.skb (Reference): Document it.
|
|
* guix/forge/gunicorn.scm (socket->gunicorn-bind): Squeeze adjacent
strings "]" and ":" into one.
|
|
* guix/forge/gunicorn.scm (gunicorn-shepherd-services): Mention app
name in documentation field.
|
|
* guix/forge/gunicorn.scm (<gunicorn-app>): Add this-gunicorn-app
self-reference.
[sockets]: Make field thunked. Set default to Unix socket.
|
|
* guix/forge/gunicorn.scm: New file.
* doc/forge.skb (Reference): Document <gunicorn-configuration> and
<gunicorn-app>.
|