Public | Automated Build

Last pushed: 2 years ago
Short Description
Discourse image
Full Description


This Docker container is an effort to provide a more self-contained, immediately-deployable
image for the Discourse discussion platform.

For background, see this discussion
on the Discourse Meta forum.

This image is still very much a work in progress and you are encouraged to
build your own image instead of depending on the Docker Hub automated build,
until the architecture is more settled. I would hope this repository can be
deprecated in the future in favor of a recognized image from the maintainers.


At the moment, this image assumes you are running a PostgreSQL server at postgres,
and a Redis instance at redis.

You should set the following (hopefully self-explanatory) environment variables for the app container:

  • DISCOURSE_DB_PASSWORD (the username is pre-set to postgres)

A sample docker-compose.yml file is included for testing purposes. Database migration
and regular asset creation are not yet configured; to bootstrap the application
for the first time, run:

docker-compose run -u discourse app rake db:migrate assets:precompile

In production, you will want to mount /shared in the app container for data permanence.

Known issues and OFI's

  • [ ] Log rotation?

License and Copyright

© 2016 Brad Jones LLC and Civilized Discourse Construction Kit, Inc.

GPL License.

Docker Pull Command
Source Repository