> ## Documentation Index
> Fetch the complete documentation index at: https://sitectl.libops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Triplet service

> How the ISLE plugin manages Triplet as the local or distributed IIIF implementation.

export const Compose = () => <Tooltip headline="Compose" tip={<>
        Docker Compose is Docker's tool for defining and running multi-container applications.{" "}
        <a href="https://docs.docker.com/compose/">https://docs.docker.com/compose/</a>.
      </>}>
    <>
      <Icon icon="docker" />
      {" "}
      Compose
    </>
  </Tooltip>;

Triplet is the default IIIF implementation in the LibOps ISLE template. It is managed by the ISLE plugin's `iiif` and `iiif-topology` components rather than by a separate `sitectl-triplet` binary or lifecycle namespace.

## Select Triplet

```bash theme={null}
sitectl set iiif triplet
```

This adds the Triplet service, derivative cache, Traefik route, and Drupal IIIF URL expected by the Islandora stack. Use core Compose commands for its runtime lifecycle:

```bash theme={null}
sitectl compose up -d
sitectl compose logs triplet
sitectl compose ps triplet
```

## Local or Distributed

Keep Triplet in the Compose project with the default local topology:

```bash theme={null}
sitectl set iiif-topology disabled
```

Point the production stack at an external Triplet endpoint while retaining local development wiring with:

```bash theme={null}
sitectl set iiif-topology distributed --iiif-upstream-url https://iiif.example.edu
```

See [IIIF components](/plugins/isle/iiif) for the complete Cantaloupe/Triplet and topology contract.
