Bespoke Installation

This option is for you if you wish to deploy to something like Amazon ECS, Kubernetes, Docker Swarm etc.

To pull the docker images, first log in to our private docker registry.

docker login -u <username> docker.gamebench.net
docker pull docker.gamebench.net/enterprise/node-backend:v1.0.0
docker pull docker.gamebench.net/enterprise/usercontrol:v1.0.0
docker pull docker.gamebench.net/enterprise/ang4-frontend:v1.0.0

Environment variables

docker.gamebench.net/enterprise/node-backend

Env var Set to Description
NODE_ENV production
ES_HOST Elasticsearch host
ES_PORT Elasticsearch port
ES_AUTH_USER Elasticsearch user
ES_AUTH_PASS Elasticsearch password
ES_SSL Use SSL when connecting to Elasticsearch
REDIS_HOST Redis host
REDIS_PORT Redis port
REDIS_AUTH Redis password
MAIL_HOST SMTP host
MAIL_PORT SMTP port
MAIL_USER SMTP user
MAIL_PASS SMTP password
MAIL_SECURE Use TLS when connecting to the server. For port 587 or 25 set to false.
MAIL_FROM From address used in emails
FRONTEND_URL URL for frontend
BACKEND_URL URL for backend
GB_BACKEND_USERCONTROL_HOST User control service host
GB_BACKEND_USERCONTROL_PORT User control service port
GB_BACKEND_USERCONTROL_API_VERSION v1 User control service API version
POSTGRES_HOST Postgres host
POSTGRES_PORT Postgres port
POSTGRES_USERNAME Postgres username
POSTGRES_PASSWORD Postgres password
BACKEND_PORT Backend port. Defaults to 5000

docker.gamebench.net/enterprise/usercontrol

Env var Set to Description
NODE_ENV production
GB_USERCONTROL_DB_ES_HOST Elasticsearch host
GB_USERCONTROL_DB_ES_PORT Elasticsearch port
GB_USERCONTROL_DB_ES_AUTH_USER Elasticsearch user
GB_USERCONTROL_DB_ES_AUTH_PASS Elasticsearch password
GB_USERCONTROL_DB_ES_SSL Use SSL when connecting to Elasticsearch
GB_USERCONTROL_ABUSE_NUMBER 0

docker.gamebench.net/enterprise/ang4-frontend

Env var Set to Description
PRODUCTION_READY true
BACKEND_HOST Backend host
BACKEND_PORT Backend port. Defaults to 5000
BACKEND_SSL Use HTTPS for backend URLs
Still need help? Get in touch!
Last updated on 18 Mar 2019