Skip to content

Pretendo instance of discourse-docker, to make it a little more friendly to deploy as a container

License

Notifications You must be signed in to change notification settings

PretendoNetwork/discourse-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

discourse-docker

Pretendo instance of discourse-docker, to make it a little more friendly to deploy as a container

It includes all the plugins that Pretendo runs.

How to build an image

Simply run build.sh, then build a container with docker build -t hello-world .

You need the following to properly host discourse:

  • Postgresql
  • Redis
  • A transactional SMTP server

The environment variables you'll need at runtime (inspired by samples/web_only.yml):

# General env
DISCOURSE_HOSTNAME=forum.example.com

# Email
DISCOURSE_SMTP_ADDRESS=
DISCOURSE_SMTP_PORT=
DISCOURSE_SMTP_USER_NAME=
DISCOURSE_SMTP_PASSWORD=
DISCOURSE_SMTP_ENABLE_START_TLS=
DISCOURSE_SMTP_DOMAIN=
DISCOURSE_NOTIFICATION_EMAIL=

# Postgres
DISCOURSE_DB_SOCKET=
DISCOURSE_DB_USERNAME=
DISCOURSE_DB_PASSWORD=
DISCOURSE_DB_HOST=

# Redis
DISCOURSE_REDIS_HOST=

More details about hosting it:

  • You need to mount /shared at a persistent location
  • Port 80 is exposed in the container

About

Pretendo instance of discourse-docker, to make it a little more friendly to deploy as a container

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages