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.8.0
docker pull quay.io/gamebench/ang4-frontend:v1.8.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.8.0
docker pull docker.gamebench.net/enterprise/ang4-frontend:v1.8.0

Please note that docker.gamebench.net is deprecated and will eventually be unavailable.

Environment variables

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
GB_BACKEND_USERCONTROL_INTERNAL 1
POSTGRES_HOST Postgres host
POSTGRES_PORT Postgres port
POSTGRES_USERNAME Postgres username
POSTGRES_PASSWORD Postgres password
BACKEND_PORT Backend port. Defaults to 5000
ENCRYPTION_KEY Must be exactly 16 bytes. Used for encryption.
LDAP_ENABLED Set to true to enable
LDAP_URL i.e. ldap://host:389
LDAP_BIND_DN i.e. cn=admin,dc=planetexpress,dc=com
LDAP_BIND_CREDENTIALS
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_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_GB_ADMIN_GROUP i.e. Office Management. Group CN. Members of this group will have admin privileges.
LDAP_CACHE Set to true to enable
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.
LOG_LEVEL info
API_TOKEN_SECRET

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 10 Jul 2019