Public Repository

Last pushed: 8 months ago
Short Description
The rails server part for running discourse.
Full Description

On Cycle, create two private containers in an environment using these images: postgres:alpine and redis:alpine.
Before starting either of those containers, add two environment variables in the postgres container:
POSTGRES_USER = discourse
POSTGRES_PASSWORD = postgrespassword

Now, start both the containers.
Create another public container using this image (cycleplatform/discourse:latest).

Set these environment variables using Cycle's interface:
DISCOURSE_DB_USERNAME: discourse
DISCOURSE_DB_PASSWORD: postgrespassword
DISCOURSE_DB_HOST: The private IP of the postgres container (i.e. 10.0.0.1).
DISCOURSE_REDIS_HOST: The private IP of the redis container (i.e. 10.0.0.10).
DISCOURSE_SMTP_ADDRESS: The SMTP server address to use for sending emails (i.e. smtp.example.com)
DISCOURSE_SMTP_PORT: The port number of the SMTP server (i.e. 587)
DISCOURSE_SMTP_USER_NAME: The SMTP server username (i.e. user@example.com)
DISCOURSE_SMTP_PASSWORD: The SMTP password
DISCOURSE_DEVELOPER_EMAILS: Admin email addresses, coma separated (i.e. admin@example.com,admin2@example.com)

Docker Pull Command
Owner
cycleplatform