Deploys the svg.juju.solutions web application and python-jujusvg binary
which allows the web framework to generate and serve SVG images of those
This deploys the Juju SVG web service. This service, when deployed, will
generage SVGs once fed a valid bundle.
This charm is mostly standalone and self contained.
juju deploy charm-svg
juju expose charm-svg
Once deployed and exposed, any web requests can be made against the
HTTP endpoint to generate an SVG.
This charm makes use of resources, a feature only available in Juju 2.0. During
deploy or at upgrade time you can replace the following resources for newer
This is the binary used to generate the SVGs given a bundle. The python-jujusvg
builds upon the jujusvg project and is
available on Github.
juju deploy --resource python-jujusvg=./python-jujusvg charm-svg
juju upgrade-charm charm-svg --resource python-jujusvg=./python-jujusvg
A tar.gz archive of the svg.juju.solutions web application
this web application is used to interpret web requests and generate the SVG
juju deploy --resource webapp=./app.tar.gz charm-svg
juju upgrade-charm charm-svg --resource webapp=./app.tar.gz
This charm easily scales by placing a load balancer in front of charm-svg. One
example is HAProxy
juju deploy haproxy
juju add-relation charm-svg haproxy
juju unexpose charm-svg
juju expose haproxy
However, there are several viable loadbalancing options
Those don't do anything, don't use them yet
The author of this charm is also the author of the project!