Need some help with Discourse docker install

Hi all,

I wanted to give a try to @pierre (Pierre Ozoux) Discourse docker install (Pierre Ozoux · GitLab) but am stuck at the very first step: the ./scripts/install command returns ./scripts/install: line 5: MAIL_HOST: unbound variable . Did anyone manage to run this install? Should I define all variables prior to run the script?

Actually, being a beginner with Docker, I’m using Portainer to help during install. Therefore, I’d like to be able to import the docker-compose.yml file into Portainer and deploy as a stack. Any advice on this?

Thanks in advance for any help!



this platform focuses on GitLab, not on running Discourse. You’ll get better support directly in the Discourse community support platform at :slight_smile:

Maybe I can push you into the best direction - I’ve been hosting private Discourse instances in the past, AFAIK Email settings need to be correct so that Discourse can start sending login emails after installation. More in discourse/ at main · discourse/discourse · GitHub

Suggest following Hosting my own mailserver for Discourse? - installation - Discourse Meta and Troubleshooting email on a new Discourse install - sysadmin - Discourse Meta which also provides tips on running scripts to analyse further. Register an account on and reply in the topics in case.