mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
100 lines
5.3 KiB
Markdown
100 lines
5.3 KiB
Markdown
# Home assistant add-on: Collabora
|
|
|
|
## 💖 Support development
|
|
|
|
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 of my >110 addons so regularly I install test machines (and purchase some test services such as vpn) that I don't use myself to troubleshoot and improve the addons
|
|
|
|
If this add-on saves you time or makes your setup easier, I would be very grateful for your support!
|
|
|
|
[![Buy me a coffee][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
|
[![Donate via PayPal][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
|
|
|
## Addon informations
|
|
|
|

|
|

|
|

|
|
|
|
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
|
|
|
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
|
[paypal-badge]: https://img.shields.io/badge/Donate%20via%20PayPal-0070BA?logo=paypal&style=flat&logoColor=white
|
|
|
|
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
|
|
|
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
|
|
|

|
|
|
|
## About
|
|
|
|
Collabora Online is a collaborative office suite based on LibreOffice technology.
|
|
|
|
## Installation
|
|
|
|
---
|
|
|
|
1. Add my add-ons repository to your Home Assistant instance or click the My link below.
|
|
1. Install the add-on.
|
|
1. Start the add-on.
|
|
1. Check the add-on logs to verify successful startup.
|
|
|
|
<a href="https://my.home-assistant.io/redirect/supervisor_addon/?addon=local_collabora" target="_blank"><img src="https://my.home-assistant.io/badges/supervisor_addon.svg" alt="Open your Home Assistant instance and show the add add-on repository dialog"/></a>
|
|
|
|
## Configuration
|
|
|
|
---
|
|
|
|
Webui can be found at `https://homeassistant:9980/browser/dist/admin/admin.html`.
|
|
|
|
### Options
|
|
|
|
| Option | Type | Default | Description |
|
|
|--------|------|---------|-------------|
|
|
| `aliasgroup1` | str | | Nextcloud external domain with escaped dots using two \ (e.g. `nextcloud_domain\\.com`) |
|
|
| `domain1` | str | | Collabora external domain with escaped dots using two \ (e.g. `code_domain\\.com`) |
|
|
| `extra_params` | str | | Extra parameters passed to the Collabora start script |
|
|
| `ssl` | bool | `false` | Enable SSL using certificates from /ssl |
|
|
| `certfile` | str | `fullchain.pem` | Certificate file name located in /ssl |
|
|
| `keyfile` | str | `privkey.pem` | Private key file name located in /ssl |
|
|
| `username` | str | | Username for the Collabora admin console |
|
|
| `password` | str | | Password for the Collabora admin console |
|
|
| `dictionaries` | str | | Space-separated list of dictionary languages to install |
|
|
|
|
### Example configuration
|
|
|
|
```yaml
|
|
aliasgroup1: nextcloud_domain\\.com
|
|
domain1: code_domain\\.com
|
|
extra_params: ""
|
|
ssl: true
|
|
certfile: fullchain.pem
|
|
keyfile: privkey.pem
|
|
username: admin
|
|
password: changeme
|
|
```
|
|
|
|
### Using Collabora with Nextcloud
|
|
|
|
1. Install the Collabora add-on and configure the options above.
|
|
1. Start the add-on and expose the Collabora server to an external domain.
|
|
1. Install and configure the Nextcloud add-on.
|
|
1. Inside Nextcloud, install the **Nextcloud Office** app.
|
|
1. In Nextcloud **Administration Settings → Office**, set the Collabora server URL to `https://yourdomain:9980` and enable **Disable certificate validation**.
|
|
|
|
### Custom Scripts and Environment Variables
|
|
|
|
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
|
|
|
- **Custom scripts**: See [Running Custom Scripts in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons)
|
|
- **env_vars option**: Use the add-on `env_vars` option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
|
|
|
## Support
|
|
|
|
Create an issue on GitHub
|
|
|
|
|
|
|