# 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:
  adminer:
    restart: unless-stopped
    image: adminer
    container_name: adminer
    ports:
    - "8222:8080"
```