# 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:
  slskd:
    image: slskd/slskd
    network_mode: bridge
    container_name: slskd
    ports:
      - "5040:5030"
      - "5031:5031"
      - "50300:50300"
    environment:
      - SLSKD_REMOTE_CONFIGURATION=true
    volumes:
      # Persistent Data
      - /srv/slskd:/app

      # Download Folders
      - /mnt/downloads/complete:/downloads/complete
      - /mnt/downloads/incomplete:/downloads/incomplete
    restart: unless-stopped
```