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

I installed discourse through DigitalOcean with the instructions here

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?

This should work:

cd /var/discourse
nano containers/app.yml

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

Hmm…is the file not there?

What do you get when you run:

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?

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

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

예시:

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

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

제가 아는 바로는 컨테이너 외부에서 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"로 수정되어야 합니다.