Sorry, I should have mentioned I have looked at/tried a few solutions from this forum and Digital Ocean too. But I still can’t get it to work. I have never set up docker before.
Let me share my current settings:
/ets/hosts:
127.0.0.1 forum.rebelscience.club
Hosts file, DNS record work as I had phpBB running there today. Now I am trying to point it to a docker with Discourse.
In containers/app.yml
I have updated ports:
expose:
- "8081:80" # http
- "8443:443" # https
In /etc/apache2/sites-enabled/discourse.conf
<VirtualHost *:80>
ServerName forum.rebelscience.club
ServerAlias www.forum.rebelscience.club
<IfModule proxy_module>
ProxyPreserveHost on
ProxyPass / http://localhost:8081/
ProxyPassReverse / http://localhost:8081/
</IfModule>
</VirtualHost>
What else am I missing? Running ./discourse-setup still fails with the message in the original post.