# How to properly edit "volumes" in app.yaml?

**URL:** <https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080>\
**Category:** Self-hosting\
**Created:** [November 15, 2017, 2:18am UTC](https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080 "2017-11-15T02:18:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)\
**Post date:** [November 15, 2017, 2:18am UTC](https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080/1 "2017-11-15T02:18:20Z")

</div>

I have a new /mnt/ volume from digital ocean. I just rsync’d my `/var/discourse` to `/mnt/sf02-storage/var/discourse`. Seems that the only thing left is to change volumes.

**The question is: is “guest” a local path? Should I keep it `/shared` and `/var/log?` Or should I do `/mnt/sf02-storage/shared` and `/mnt/sf02-storage/var/log`?**

```plaintext
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

```

\>\>

```plaintext
volumes:
  - volume:
      host: /mnt/sf02-storage/var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /mnt/sf02-storage/var/discourse/shared/standalone/log/var-log
      guest: /var/log

```

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [November 15, 2017, 5:01am UTC](https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080/2 "2017-11-15T05:01:43Z")

</div>

> [@dylanh724](#):
>
> The question is: is “guest” a local path?

Guest = path inside container  
Host = path outside container

---

<div class="post-metadata">

**Author:** ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)\
**Post date:** [November 15, 2017, 8:52am UTC](https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080/3 "2017-11-15T08:52:18Z")

</div>

ah, so I should probably leave the guest alone. Thanks for the clarification

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [November 1, 2023, 12:14pm UTC](https://meta.discourse.org/t/how-to-properly-edit-volumes-in-app-yaml/74080/6 "2023-11-01T12:14:57Z")

</div>


