Skip to content

featheredtoast/discourse-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose discourse

A sample docker compose image for Discourse

Vanilla discourse, no plugins, but batteries included - no bootstrap steps needed.

Check the docker-compose.yml file for how it's setup.

As is, it runs a testing mailhog instance for mail, postgres 15, and latest built tests-passed.

Running

docker compose up -d

Rebuilding just web: docker compose up -d --force-recreate --pull always --no-deps web

Components

Web is built from launcher build web_only. The rest of the jobfile is shuffling docker images, dealing with platform arguments, and figuring out version tags.

See https://github.com/discourse/discourse_docker/blob/main/.github/workflows/push-web-only.yml#L87-L90 for image building, as that line specifically is the only thing needed to build a public image.

See https://github.com/discourse/discourse-postgres for running a customized postgres image, tuned to Discourse with the same customizations as the discourse_docker data image.

Extras

Let's Encrypt ssl cert enabled when LETSENCRYPT_ACCOUNT_EMAIL env var is set.

This image now comes bundled in with Resenha for voice support.

Pitfalls

No plugins are here - there's no good way to dynamically load plugins (yet). It's always possible to build your own images.

About

docker compose file for Discourse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors