Skip to content

BradJonesLLC/docker-discourse

Repository files navigation

docker-discourse

Flattr this git repo

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.

Usage

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_DEVELOPER_EMAILS
  • DISCOURSE_SMTP_ADDRESS
  • DISCOURSE_SMTP_PORT
  • DISCOURSE_SMTP_USER_NAME
  • DISCOURSE_SMTP_PASSWORD
  • 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.

About

Docker image for Discourse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages