# 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:
  readarr:
    image: lscr.io/linuxserver/readarr:latest
    container_name: readarr
    network_mode: bridge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
    volumes:
      # Persistent Data
      - /srv/readarr/:/config

      # Media Folders
      - /mnt/books:/mnt/book

      # Download Folders
      - /media/data/Enclave:/media/data/Enclave

    ports:
      - 8787:8787
    restart: unless-stopped
```