# Installation

The service can be installed through the Portainer web interface.

<p class="callout info">Learn about [creating a new stack](https://hub.subspace.services/books/portainer/page/creating-a-new-stack "Creating a New Stack").</p>

## Docker Compose

Use the following code to install the service:

```yaml
---
services:
  collabora:
    image: collabora/code
    container_name: collabora
    hostname: collabora
    ports:
      - 9980:9980
    environment:
      - DOMAIN=collabora.example.com
      - ALIASGROUP1=owncloud.example.com
      - USERNAME=owncloud
      - PASSWORD=
    restart: unless-stopped
```