In a self-hosting support thread titled “Using standard install, at step to edit app.yml, No app.yml,” EricGT is following the Beginner Docker install guide but using OSU OSL instead of Digital Ocean. He reaches the email setup step and tries to edit app.yml, but finds the file missing. After cloning the discourse_docker repo and navigating to /var/discourse, he asks if running ./discourse-setup is the correct next step. merefield confirms that ./discourse-setup generates app.yml from user input. EricGT initially misunderstands, thinking no responses have been given yet — but later realizes the script prompts for them. justin adds that alternatively, one can manually copy samples/standalone.yml to containers/app.yml and edit it. EricGT then documents his successful process: copying the sample config, editing SMTP values from the Mailgun guide, skipping rebuild (due to Docker not being pre-installed), and running ./discourse-setup, which prompts for hostname, admin email, SMTP settings, and Let’s Encrypt info — ultimately rebuilding and launching the app. justin marks EricGT’s post as the solution for future users.
As swi-prolog.org is an existing registered domain name (check whois) and had been previously setup in Mailgun for another use a while back I am skipping down to step 4. Log in via SSH and edit your Discourse config (ref). I can SSH in but there is no app.yml file.
eric@swi-prolog:~$ ls -la /var/discourse/containers
total 8
drwxr-xr-x 2 root root 4096 May 26 13:41 .
drwxr-xr-x 11 root root 4096 May 23 11:02 ..
-rw-r--r-- 1 root root 0 May 23 11:02 .gitkeep
The only steps done so far related to installing Discourse are:
sudo -s
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
What should be done?
I am thinking ./discourse-setup but not sure, so just asking.
Note: I do not have Mailgun login access or similar for domain name, but am working with the one who does. In short I am trying to do this with their help when needed but as I have never done a Mail server setup and don’t have Mailgun login I am stumbling/learning often. He has provided the values needed for app.yml.
Thanks for replying but I don’t understand all of it together as written. Parts of it make sense but together it seems to contradict itself.
Does this This mean run ./discourse-setup?
But I have not given any responses. The only thing I have done related to installing Discourse by following the instructions is
sudo -s
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
app.yml does not yet exist to enter values.
I have installed a dev version and have it running so for the build in question I am expecting to a see a script run that does most of the build, but have not done that step yet for the build in question.