Skip to main content

Run modes

Suppliers can run in DEV or DEPLOYMENT mode.

Practical rule:

  • DEV is for local development and ad-hoc requests.
  • DEPLOYMENT is for registered, stocked, maintained catalogue entries.

If you expect Sixpack to keep templates stocked over time, run the Supplier in DEPLOYMENT.

DEV mode

Environments, Suppliers, and Items created in DEV mode are hidden in the UI by default, although they can still be accessed. DEV Items cannot overwrite existing Items created in DEPLOYMENT mode.

In DEV mode:

  • template variants are not built
  • Sixpack does not maintain stock or restock templates
  • dataset requests can still run ad-hoc against the registered Supplier

To enable DEV mode, set:

SIXPACK_RUN_MODE=DEV

DEPLOYMENT mode

Environments, Suppliers, and Items created in DEPLOYMENT mode have priority over DEV Items. They overwrite existing matching Items, including other DEPLOYMENT Items.

In DEPLOYMENT mode:

  • template variants are built for compatible Items
  • stocked datasets are maintained and restocked
  • registration can replace matching DEV catalogue entries

To enable DEPLOYMENT mode, set:

SIXPACK_RUN_MODE=DEPLOYMENT