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.

If we have provided you with credentials for quay.io:

docker login -u <username> quay.io
docker pull quay.io/gamebench/node-backend:v1.12.0
docker pull quay.io/gamebench/ang4-frontend:v1.12.0

Alternatively, if you have docker.gamebench.net credentials:

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

Please note that docker.gamebench.net is deprecated and will be unavailable from 27/08/2019.

Environment variables

node-backend

Env var Set to Description
ADMINISTRATOR_EMAIL
API_TOKEN_SECRET
BACKEND_PORT Backend port. Defaults to 5000
BACKEND_URL URL for backend
ENCRYPTION_KEY Must be exactly 16 bytes. Used for encryption.
ES_AUTH_PASS Elasticsearch password
ES_AUTH_USER Elasticsearch user
ES_HOST Elasticsearch host
ES_PORT Elasticsearch port
ES_SSL Use SSL when connecting to Elasticsearch
FRONTEND_URL URL for frontend
GB_BACKEND_USERCONTROL_API_VERSION v1 User control service API version
GB_BACKEND_USERCONTROL_HOST User control service host
GB_BACKEND_USERCONTROL_INTERNAL 1
GB_BACKEND_USERCONTROL_PORT User control service port
GB_LICENSE_PATH
LDAP_BIND_CREDENTIALS
LDAP_BIND_DN i.e. cn=admin,dc=planetexpress,dc=com
LDAP_CACHE Set to true to enable
LDAP_ENABLED Set to true to enable
LDAP_GB_ADMIN_GROUP i.e. Office Management. Group CN. Members of this group will have admin privileges.
LDAP_GROUP_SEARCH_BASE i.e. dc=planetexpress,dc=com. Search base for groups.
LDAP_GROUP_SEARCH_FILTER i.e. (member={{dn}}). Filter to find groups that the user belongs to.
LDAP_SEARCH_BASE i.e. ou=people,dc=planetexpress,dc=com. Search base for users.
LDAP_SEARCH_FILTER i.e. (uid={{username}}) or (sAMAccountName={{username}}) when using Active Directory
LDAP_URL i.e. ldap://host:389
LOG_LEVEL info
MAIL_FROM From address used in emails
MAIL_HOST SMTP host
MAIL_IGNORE_TLS
MAIL_PASS SMTP password
MAIL_PORT SMTP port
MAIL_SECURE Use TLS when connecting to the server. For port 587 or 25 set to false.
MAIL_TLS
MAIL_TLS_REJECT_UNAUTH
MAIL_USER SMTP user
NODE_ENV production
POSTGRES_DATABASE elm-integration
POSTGRES_HOST Postgres host
POSTGRES_PASSWORD Postgres password
POSTGRES_PORT Postgres port
POSTGRES_USERNAME Postgres username
REDIS_AUTH Redis password
REDIS_HOST Redis host
REDIS_PORT Redis port
SETUP_PASSWORD Password used to access <web dashboard URL>/setup.
SETUP_JWT_SECRET Secret used to encode JWT payload. Must be set for <web dashboard URL>/setup to be accessible.

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 08 Oct 2019