# Does app.yml persist between docker upgrades?

**URL:** https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950
**Category:** Support
**Created:** [June 5, 2017, 12:17pm UTC](https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950 "2017-06-05T12:17:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jlippiner](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@jlippiner](https://meta.discourse.org/u/jlippiner)
#### Post date: [June 5, 2017, 12:17pm UTC](https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950/1 "2017-06-05T12:17:28Z")

</div>

Im working on a plugin and the instructions I received was to update the app.yml discourse file (the plugin overrides the email template).

The problem with this, I believe, is that while plugins persist between upgrades I don’t know / believe that the `app.yml` file does. Does anyone know if the `app.yml` file persists when you perform a version update? If it doesn’t, are we suppose to put the template override location in the `plugin.rb` file?

---

<div class="post-metadata">

### Author: ![kraml](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kraml/32/68627_2.png) [@kraml](https://meta.discourse.org/u/kraml)
#### Post date: [June 5, 2017, 1:08pm UTC](https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950/2 "2017-06-05T13:08:30Z")

</div>

It persists. It is out of docker daemon or your container’s reach.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 5, 2017, 1:58pm UTC](https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950/3 "2017-06-05T13:58:56Z")

</div>

The app.yml file is what determines how Discourse is configured. It wouldn’t make sense for Discourse to change it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 5, 2017, 10:56pm UTC](https://meta.discourse.org/t/does-app-yml-persist-between-docker-upgrades/63950/4 "2017-06-05T22:56:28Z")

</div>


