Install with Docker compose

AI-generated summary

The discussion revolves around the possibility of using Docker Compose for installing Discourse, as an alternative to the current launcher script. Pierre_Thierry questions the lack of transparency in the launcher’s Docker image and requests documentation for its build process. sam explains that the launcher is well-tested and not being replaced by Docker Compose, which is still immature. gerhard provides a link to the official Docker image repository. Pierre_Thierry acknowledges the oversight. Other users share community-driven alternatives, including stephane_klein, themightychris, and Falco, who point to community repositories and a meta-discourse thread discussing the pros and cons of such approaches.

The current installation method uses a Discourse-specific script to which you have to give total control of your Docker host to do the installation, upgrades and so on.

Would it be possible to provide a docker-compose.yml configuration to build and deploy Discourse with the standard tools?

I am not rewriting battle tested launcher which has been working really well for us for the last year to use compose that was just released a few months ago and does not even support a large amount of stuff launcher and pups do.

Feel free to give it a shot and let me know how you go.

Fair enough.

But launcher itself uses an image on the Docker Hub whose Dockerfile is not provided there. I didn’t find the documentation or the code to see how that image is produced. Can you point me to it?

OK, my bad, it seems it could not have been much more in plain view than that. Thanks for the patience.

I see that : GitHub - codeformuenster/docker-compose-discourse: docker-compose for discourse · GitHub

This looks like the best current source: GitHub - libresh/compose-discourse: Moved to https://lab.libreho.st/libre.sh/compose/discourse · GitHub

Pros and Cons of this repo are discussed here: Community supported official docker image