Can you deploy charms from a self-hosted repository with juju

Is there any way to use Juju to deploy remotely hosted charms from locations other than Charmhub?

Ideally I would like to be able to run something like: juju deploy https://<my-repository>/<my-charm.charm>

Does Juju currently support this sort of use case, or am I stuck downloading the charm before trying to deploy it?

there may be a better way, but what I can think of is:

juju download --charmhub-url=“http://mystore.com” mycharm.charm ; juju deploy ./mycharm.charm

Hey @tsims, as @ppasotti said, you can use a proxy for charmhub, Juju doesn’t support using alternative stores. There is more information on proxies here: https://canonical-juju.readthedocs-hosted.com/en/latest/user/howto/manage-your-deployment/take-your-deployment-offline/

Awesome, thank you both for the info!

Juju helps to pick charms from the charm hub only, I doubt alternate routes but it’s worth investigating