Giter Site home page Giter Site logo

discourse's Introduction

Discourse Docker Image

EnvyGeeks Discourse Docker image is an alternate take on the Discourse setup allowing external databases and external routers (removal of Nginx) and not allowing PostgreSQL and Nginx inside of the image itself.

Environment Variables

  • RAILS_ENV=production
  • UNICORN_SIDEKIQS=1
  • DISCOURSE_DB_PORT=5432
  • DISCOURSE_DB_USER="discourse"
  • DISCOURSE_DB_HOST="postgresql"
  • DISCOURSE_DB_NAME="discourse"
  • DISCOURSE_REDIS_HOST="redis"
  • DISCOURSE_REDIS_PORT=6379
  • UNICORN_ENABLE_OOBGC=0
  • UNICORN_WORKERS=2

One might ask why everything is so low, it's because this is meant to be a generic image that is meant for a small site that will grow over time and eventually get scaled, you can send one or all of these environment variables and override the values to suite your needs!

Running

  • This image recommends: envygeeks/postgresql or equiv.
  • This image recommends: envygeeks/nginx or equiv.
docker run --name discourse -P --link postgresql:postgresql \
  -dit envygeeks/discourse

discourse's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.