I’ve been running nextcloud, vaultwarden, jellyfin etc in docker containers for years, but I cannot for the life of me figure out Dicourse.
The setup script gives me some error about not being able to connect on port 80 and 443. Probably because I’m setting it up on a new server which does not have those ports forwarded as I intend to use nginx proxy manager on my other server to reverse proxy to Discourse.
I’ve tried to write a compose file based on the variables in the files, but docker can’t find a manifest when I attempt to pull discourse/base.
I’ve tried the bitnami container but I end up with no admin account and the command bitnami says to use to setup one returns errors.
I have spent the past few days on this. Can someone please help?
It was an accurate response, your setup is not standard and therefore not a standard install. Free support is generally targeted at the standard install because it then remains manageable for people to provide it (for free).
If looking for free support for a non-standard install I suggest being a bit nicer to those who provide it …
The guide you linked outright says it assumes I have Discourse working. Which I don’t. I’m also not trying to run other websites on the same machine as Discourse, I am trying to run Discourse on a second machine.
The problem is I can’t get the discourse-setup script past the port check and none of the launcher commands actually do anything. I had already edited the files mentioned in the guide merefield linked before I even posted here as the error message in discourse-setup reccomended, but I don’t know what to do from there.
I’m asking for help with the official discourse docker.
I cannot get the official discourse docker to run at all
I can get the bitnami one to run and access the site but I haven’t been able to setup an admin account with theirs.
sudo ./launcher rebuild app got it going. However, after filling in the details to sign up an admin account and go to the next page, I just get this. I haven’t received any confirmation email with either the smtp port set to 587 or 465
yeah, changing example.com back to the server ip shows me the correct confirmation email page.
I found a DNS record typo and a mistake I made in the yml file, so email should hopefully work when I wake up.
The output of the sudo ./launcher rebuild app command also gives me some clues on what to tinker with to further customize the setup. Hopefully I’ll have a Discourse setup I’m happy with by the weekend!
Sorry for butting in and not reading the whole thread but OP’s problem I had myself the first time I tried to setup Discourse. Port 80 and port 443 are not open because the app isn’t using them yet. The trick is to run skip-network-check or some such command (can’t remember and at work) and setup skips the port check and then goes forward with the setup. It is in the standard setup instructions but it is easy to miss
Then you can’t use discourse-setup or you can run it with --skip-connection-test, but you’re on your own to make it work. You also need to comment out the ssl and https templates.
That won’t work.
You should first install it on a machine that doesn’t have anything else using ports 80 and 443 to see how it works. If you’re not going to do that then you need to understand how it works before you do anything.
I fixed the issue with my email server can and other docker apps can use the email address I want to use with discourse, but discourse is still failing to send an email.