Helpy.io Docker Image
This repository contains the neccessary files to build and run your own containerized Helpy.io instance. The container is designed to run standalone or on OpenShift Origin.
This image is available on DockerHub. To pull it, run:
docker pull computersciencehouse/helpy
This image expects a number of environment variables to be set to properly run:
POSTGRES_HOSTshould be set to the hostname or IP address of your PostgreSQL server
POSTGRES_DBshould be set to the name of your database
POSTGRES_USERshould be set to the name of your database user
POSTGRES_PASSWORDshould be set to the password for your database user
POSTGRES_PASSWORD_FILEfile instead of enviroment variable (useful for docker secrets)
SECRET_KEY_BASEshould be set to a long, random string (used to sign and verify cookies)
You may also set
DO_NOT_PREPARE=true to skip database migrations. It is advised to leave this alone to ensure database migrations run on version change.
When the image is run, the application will be served by Unicorn on port 8080.
The application will store uploaded files in
/helpy/uploads. A volume should be mounted in this location to provide persistant storage.