# How do I edit my "/containers/app.yml file" from the root@digitialoceandropletname ssh workspace?

**URL:** https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628
**Category:** Self-hosting
**Created:** [1월 31, 2017, 12:45오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628 "2017-01-31T00:45:51Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![railsnoob](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@railsnoob](https://meta.discourse.org/u/railsnoob)
#### Post date: [1월 31, 2017, 12:45오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/1 "2017-01-31T00:45:51Z")

</div>

I installed discourse through DigitalOcean with the instructions [here](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

The instructions read:

> If you need to change or fix these settings after bootstrapping, edit your /containers/app.yml file

I am at the command prompt and logged into the ssh workspace

> root@discourseforum:~#

Can someone please explain how I open the “/containers/app.yml file” file to edit it?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 31, 2017, 1:57오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/2 "2017-01-31T01:57:10Z")

</div>

This _should_ work:

```plaintext
cd /var/discourse
nano containers/app.yml

```

---

<div class="post-metadata">

### Author: ![railsnoob](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@railsnoob](https://meta.discourse.org/u/railsnoob)
#### Post date: [1월 31, 2017, 2:00오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/3 "2017-01-31T02:00:31Z")

</div>

This just gives me a black screen. How do I access the text file to make changes?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 31, 2017, 2:01오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/4 "2017-01-31T02:01:29Z")

</div>

Hmm…is the file not there?

What do you get when you run:

```plaintext
cd /var/discourse/containers
ls -la

```

Also, just to check, when you ran the commands in my previous post, you didn’t put a slash in front of containers, right?

---

<div class="post-metadata">

### Author: ![railsnoob](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@railsnoob](https://meta.discourse.org/u/railsnoob)
#### Post date: [1월 31, 2017, 4:06오전 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/5 "2017-01-31T04:06:32Z")

</div>

thanks this works after i started over with a fresh install from a fresh droplet. it wasn’t working previously thanks.

---

<div class="post-metadata">

### Author: ![bobbyiliev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobbyiliev/32/168701_2.png) [@bobbyiliev](https://meta.discourse.org/u/bobbyiliev)
#### Post date: [2월 4, 2020, 12:36오후 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/6 "2020-02-04T12:36:14Z")

</div>

`templates` 폴더의 템플릿 중 하나를 사용할 수 있습니다. 예를 들어, 독립 실행형 서버를 실행하려면 `standalone.yml` 파일을 사용하시면 됩니다.

예시:

```plaintext
cp /var/discourse/samples/standalone.yml /var/discourse/containers/app.yml

```

해당 파일에서 필요한 변경 사항을 수행할 수 있습니다.

---

<div class="post-metadata">

### Author: ![curiositry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/curiositry/32/122427_2.png) [@curiositry](https://meta.discourse.org/u/curiositry)
#### Post date: [2월 12, 2024, 10:46오후 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/7 "2024-02-12T22:46:15Z")

</div>

제가 아는 바로는 컨테이너 외부에서 `containers`는 `/var/discourse`의 하위 디렉터리이며, `/containers` 디렉터리는 존재하지 않습니다. 따라서 제가 틀리지 않았다면, INSTALL.md의 “or edit `/containers/app.yml` manually” 문장은 “or edit `containers/app.yml` manually” 또는 "or edit `/var/discourse/containers/app.yml` manually"로 수정되어야 합니다.

---

<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: [6월 8, 2024, 12:36오후 UTC](https://meta.discourse.org/t/how-do-i-edit-my-containers-app-yml-file-from-the-root-digitialoceandropletname-ssh-workspace/56628/8 "2024-06-08T12:36:41Z")

</div>

이 주제는 2685일 후 자동으로 닫혔습니다. 새로운 답변은 더 이상 허용되지 않습니다.
