aboutsummaryrefslogtreecommitdiff
path: root/guix/forge/gunicorn.scm
AgeCommit message (Collapse)Author
2024-04-11gunicorn: Support unstructured extra CLI arguments.Frederick M. Muriithi
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>
2024-01-08gunicorn: Support worker timeout parameter.Arun Isaac
* 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.
2023-12-22gunicorn: Provision app-specific symbol.Arun Isaac
Provisioning the 'gunicorn symbol is problematic when there are multiple gunicorn apps running. * guix/forge/gunicorn.scm (gunicorn-shepherd-services): Provision app-specific symbol.
2023-12-22gunicorn: Use python, not python-minimal, to construct app profile.Arun Isaac
* guix/forge/gunicorn.scm: Import python instead of python-minimal. (gunicorn-shepherd-services): Use python, not python-minimal, to construct app profile.
2023-12-22gunicorn: Use <environment-variable> records.Arun Isaac
* 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.
2023-08-09gunicorn: Support <forge-host-socket> sockets.Arun Isaac
* guix/forge/gunicorn.scm (socket->gunicorn-bind): Support <forge-host-socket> sockets. * doc/forge.skb (Reference): Document it.
2023-07-28gunicorn: Squeeze adjacent strings together.Arun Isaac
* guix/forge/gunicorn.scm (socket->gunicorn-bind): Squeeze adjacent strings "]" and ":" into one.
2023-07-28gunicorn: Mention app name in shepherd service documentation.Arun Isaac
* guix/forge/gunicorn.scm (gunicorn-shepherd-services): Mention app name in documentation field.
2023-07-27gunicorn: Set default socket to Unix socket.Arun Isaac
* guix/forge/gunicorn.scm (<gunicorn-app>): Add this-gunicorn-app self-reference. [sockets]: Make field thunked. Set default to Unix socket.
2023-07-25gunicorn: Add gunicorn service.Arun Isaac
* guix/forge/gunicorn.scm: New file. * doc/forge.skb (Reference): Document <gunicorn-configuration> and <gunicorn-app>.