# Settings and limits
Source: https://docs.infraista.com/en/developer-tools/dockerfile-studio/settings-and-limits



**Dockerfile Studio** > **Settings** holds the defaults and rules for every Dockerfile generated in your
organization.

<Shot name="developer-tools/dockerfile-studio/settings" alt="Dockerfile Studio settings with defaults, allowed base images, forbidden patterns, pull requests and usage" />

## Defaults [#defaults]

Pre-selected options when someone generates a Dockerfile; people can still change them each time.

* **Default HEALTHCHECK path**: used when no health route is found in the code.
* **OCI labels template**: labels added to every image. `$ORG`, `$REPO_NAME` and `$REPO_URL` are filled
  in per repository, and `$GIT_SHA` at build time.

## Rules for every Dockerfile [#rules-for-every-dockerfile]

* **Allowed base images**: **Official images and your list** (recommended: Docker official images,
  distroless and .NET, plus registries and images you add, such as a full reference or a prefix ending
  in `*`), or **Any registry**. Generated Dockerfiles only use allowed base images, and the checks fail
  for others.
* **Forbidden patterns**: Dockerfile Studio never writes these, and the checks fail if someone adds them
  by hand:
  * running as root (always on);
  * `latest` or untagged base images;
  * `ADD` from remote URLs;
  * secrets in `ENV` or `ARG`;
  * piping downloads into a shell (`curl … | sh`).

## Pull requests [#pull-requests]

The default **Branch** name (a short suffix is added if it's taken), **Default reviewers**, **Labels**,
the footer, and **Open as a draft by default**. Auto-merge isn't available: AI-generated changes always
need a human review.

## Notifications [#notifications]

Send events to your notification channels:

* **A Dockerfile is ready or failed**, with its checks.
* **A pull request is opened**, with the branch, the version and who opened it.

The person who started a generation always gets a notification in the console when it's ready or fails.

## Usage and limits [#usage-and-limits]

* Each organization gets a number of **generations included** every month. The count resets on the 1st.
* Each generation includes some **refinements**; after that, each AI refinement is billed. Pinning by
  digest uses no AI and is never billed, and a refinement that fails isn't billed.
* A generation can be refined up to 20 times.
* Downloads and pull requests don't count.

**When the monthly limit is reached**, choose:

* **Stop new generations**: new generations and refinements past the included ones are refused, and
  nothing is billed. Downloads and pull requests keep working.
* **Keep going, billed**: generations and refinements past the limit are billed on your monthly
  invoice, as separate lines.

The Dockerfile Studio page shows how many generations you've used this month and how many are left.
See your price list in the console for current prices.

## Related [#related]

* [Generate a Dockerfile](/en/developer-tools/dockerfile-studio/generate-a-dockerfile)
* [API](/en/developer-tools/dockerfile-studio/api)
