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

# Edit an app's compose file and .env

> Open the app's Settings, then the Compose or Environment tab: edit, then Apply.

Every app has a compose file and can have a `.env`. Open the app's menu, **Settings**, then:

* **Compose**: edit the Docker Compose file directly. Changes are validated before they are applied. Values from the app's `.env` stay as `${VAR}`.
* **Environment**: edit the `.env`, one `KEY=VALUE` per line, `#` for a comment, quoted as in a Docker Compose `.env`. Reference a key from the compose file as `${KEY}`. Applying an empty file deletes it.

Click **Apply**: changes are validated before being applied.

* `TZ`, `PUID` and `PGID` are set by ReCasaOS and cannot be overridden here.
* An app [deployed from git](https://docs.recasaos.org/apps/apps-from-git.md) is defined by its repository: change it there. An edit here would modify tracked files and block every later deployment.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.