# Self-host Mylar3

> An automated comic book downloader that watches your series, finds new issues through your indexers and download client, and renames them into a library. GPL-3.0 licensed. Open the web UI, then add your indexers and download client under Configuration.

- Page: https://levelrail.com/templates/mylar3/
- JSON: https://levelrail.com/templates/mylar3.json
- Category: Applications
- Licence: GPL-3.0 (Copyleft license)
- Source: https://github.com/mylar3/mylar3
- Upstream docs: https://github.com/mylar3/mylar3/wiki

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 0.8.3

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| mylar3 | lscr.io/linuxserver/mylar3 | 0.8.3 | 8090 | config -> /config; comics -> /comics; downloads -> /downloads |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| mylar3 | PGID | preset |
| mylar3 | PUID | preset |
| mylar3 | TZ | preset |

## Deploy

### CLI

```bash
levelrail-cli templates install mylar3 --name my-mylar3
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain mylar3=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/mylar3/install \
  -d '{
    "name": "my-mylar3"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## Questions

### Can I deploy Mylar3 on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Mylar3, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/mylar3:0.8.3 is what you deploy there.

Self-host Mylar3, Mylar3 docker compose file, deploy Mylar3 on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
