> ## Documentation Index
> Fetch the complete documentation index at: https://libops-renovate-github-com-libops-sitectl-0-x.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# lifecycle

> Build, start, stop, inspect, and roll out an ArchivesSpace stack with core sitectl commands.

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>;

ArchivesSpace does not define its own lifecycle commands. Like every application
plugin, an ArchivesSpace stack is built, started, stopped, inspected, and rolled out
with the **core** `sitectl` commands, which operate on whichever context is active:

```bash theme={null}
sitectl create archivesspace   # scaffold the stack and its context
sitectl compose build          # build images
sitectl compose up -d          # start the stack
sitectl compose ps             # service status
sitectl compose logs -f        # follow logs
sitectl compose down           # stop the stack
sitectl deploy                 # pull updates and restart (rollout)
```

`sitectl archivesspace ...` is reserved for ArchivesSpace-specific operations — the
[API helpers](/plugins/archivesspace/api), [resource shortcuts](/plugins/archivesspace/resources),
and [container scripts](/plugins/archivesspace/scripts). General <Compose /> lifecycle
stays in the core CLI so the same operational contract applies to every stack.

See [`sitectl create`](/commands/create), [`sitectl compose`](/commands/compose), and
[`sitectl deploy`](/commands/deploy) for the full lifecycle reference.
