---
title: Charmhub | Deploy weebl using Charmhub - The Open Operator Collection
description: Deploy the latest version of weebl on any cloud. A charm used to deploy
  and manage weebl dashboard service.
url: https://charmhub.io/weebl
---

# weebl

[Moises Emilio Benzan Mora](https://charmhub.io/publisher/moisesbenzan "View all packages from Moises Emilio Benzan Mora")

* [Moises Emilio Benzan Mora](https://charmhub.io/publisher/moisesbenzan "View all packages from Moises Emilio Benzan Mora")

Platform:

24.04

22.04

20.04

stable 42

```
juju deploy weebl
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

[Read documentation](https://github.com/canonical/charm-weebl/)

#### Relevant links

* [Contact](mailto:Solutions QA <solqa-mailing-list@canonical.com>)

---

#### Contacts

##### Maintainers

+ [Solutions QA](mailto:solqa-mailing-list@canonical.com)

* [Submit a bug](https://github.com/canonical/charm-weebl/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

#### A charm used to deploy and manage weebl dashboard service.

# weebl

## Description

A charm used to deploy and manage weebl dashboard service.

## Usage

The charm requires a postgresql relation on the `database` endpoint.

Available configuration options:

| Name | Default value | Description |
| ---- | ------------- | ----------- |
| `weebl_snap_release_channel` | `stable` | Snapstore release channel for the weebl snap. |
| `http_listen_port` | `8080` | HTTP listen port for exposed weebl snap server. |
| `backup_frequency` | `24` | Time interval in hours in which to make a backup of the database. |
| `backups_enabled` | `true` | Whether or not cloud backups are enabled. |
| `os_username` | `null` | Openstack Username credentials for the swift endpoint. |
| `os_password` | `null` | Openstack password credentials for the swift endpoint. |
| `os_project_name` | `null` | Openstack project name for the swift endpoint. |
| `os_project_domain_name` | `null` | Openstack project domain name for the swift endpoint. |
| `os_auth_url` | `null` | Openstack auth url for the swift endpoint. |
| `os_container_name` | `solutions-qa` | Openstack container name for the swift endpoint. |
| `artifacts_base_url` | `""` | Base URL used by Weebl frontend artifact links for test runs. Empty uses Weebl's internal default. |
| `grafana_base_url` | `""` | Base URL used by frontend Grafana links. Empty uses Weebl's internal default. |

## Actions

Can be called with `juju run-action <unit_name> <action_name> --wait`

Available actions for the charm are:

### run-migrations

Schedules a database migration event.

Called with: `juju run-action <unit_name> run-migrations --wait`

### dump-database

Makes a dump of all the data living in the database.

Called with: `juju run-action <unit_name> dump-database --wait`

### grant-admin

Grants the specified user admin on weebl.

Called with: `juju run-action <unit_name> grant-admin username=<weebl_username> --wait`

### update-weebl

Calls a snap refresh on the current weebl snap channel.

Called with: `juju run-action <unit_name> update-weebl --wait`

### backup-to-swift

Backups the weebl database into the swift bucket.

Called with: `juju run-action <unit_name> backup-to-swift --wait`

## Relations

This charm doesn't provide any relations but requires the following:

```
requires:
  database:
    interface: pgsql
    limit: 1
```

## Contributing

Please see the [Juju SDK docs](https://juju.is/docs/sdk) for guidelines
on enhancements to this charm following best practice guidelines, and
`CONTRIBUTING.md` for developer guidance.
