Bring a stack up from its file
briq_upBring up the stack a repo declares in its stack file, briq.yaml. Pass file: the file's content as you read it from the repo. Creates each service the stack does not have yet, as briq_run makes it and under the same checks: every new one, or none. Leaves the services it has as they are and never deletes, so calling it again is safe. A service is what briq_run takes: recipe with the fields it changes (image, env, cmd, size, volume, files; checkout and steps for a language recipe), or image with its settings. A secret the file names as { secret: NAME } is generated, unless its value is passed here: secrets: { STRIPE_KEY: "…" }; ask the person for one briq cannot generate, never invent it. Returns each briq and the outputs (connection strings, :URL for each published service). With expose: true, the outputs reach the stack from outside briq (a laptop): each database gets a TLS endpoint. The format: briq_docs "stack-file".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The stack file's content, YAML or JSON, as it is in the repo | |
| wait | No | Wait until the new services are ready (default true) | |
| stack | No | Bring it up as this stack instead of the file's `stack`, e.g. a branch's | |
| expose | No | Outputs for a client outside briq (a laptop): each database gets a TLS endpoint and its connection string names it. Only when the person needs that: the briqs of the stack reach each other already | |
| secrets | No | Values of secrets the file names as { secret: NAME }, by name: an API key briq cannot generate. Stored encrypted, never shown again |