Skip to content

Latest commit

 

History

History
70 lines (61 loc) · 16.8 KB

containers.md

File metadata and controls

70 lines (61 loc) · 16.8 KB

Onify Hub containers

Here is a detailed matrix for the containers required for Onify Hub.

Note: Elasticseach could also be hosted outside the Onify Hub.

List of containers and services

APP API WORKER AGENT-SERVER FUNCTIONS ELASTICSEARCH HELIX
-- DEPLOYMENT --
Service app api worker agent-server functions elasticsearch helix
Optional No No No Yes Yes No Yes
Ports 3000 8181 n/a 8080 8282 9200 4000
Public Yes Optional n/a Yes Yes No Yes
Stateless Yes Yes Yes Yes Yes No Yes
Internet access No Yes Yes No Maybe No No
Depends on api elasticearch elasticearch n/a n/a n/a api
Pods 1+ 1+ 1+ 1 1+ 1 1+
Source Node.js Node.js Node.js Golang Node.js Java Vue.js + Nginx
DNS name Yes Optional No Yes Yes No n/a
SSL cert Yes Optional n/a Yes Yes n/a n/a
Image eu.gcr.io/onify-images/hub/app:{version} eu.gcr.io/onify-images/hub/api:{version} eu.gcr.io/onify-images/hub/api:{version} eu.gcr.io/onify-images/hub/agent-server:{version} eu.gcr.io/onify-images/hub/functions:{version} docker.elastic.co/elasticsearch/elasticsearch:{version} ghcr.io/{custom}/helix:{version}
-- ENVIRONMENT --
ES_JAVA_OPTS n/a n/a n/a n/a n/a -Xms1g -Xmx1g n/a
discovery.type n/a n/a n/a n/a n/a single-node n/a
cluster.name n/a n/a n/a n/a n/a onify n/a
NODE_ENV production production production n/a n/a n/a n/a
ENV_PREFIX ONIFY_ ONIFY_ ONIFY_ n/a n/a n/a n/a
INTERPRET_CHAR_AS_DOT _ _ _ n/a n/a n/a n/a
ONIFY_autoinstall n/a TRUE TRUE n/a n/a n/a n/a
ONIFY_db_elasticsearch_host n/a http://{elasticsearch}:9200 http://{elasticsearch}:9200 n/a n/a n/a n/a
ONIFY_db_indexPrefix n/a onify onify n/a n/a n/a n/a
ONIFY_client_secret n/a *** *** n/a n/a n/a n/a
ONIFY_client_code n/a {CLIENT CODE}* {CLIENT CODE}* n/a n/a n/a n/a
ONIFY_client_instance n/a {INSTANCE CODE}* {INSTANCE CODE}* n/a n/a n/a n/a
ONIFY_initialLicense n/a {LICENSE}* {LICENSE}* n/a n/a n/a n/a
ONIFY_adminUser_username n/a admin admin n/a n/a n/a n/a
ONIFY_adminUser_password n/a *** *** n/a n/a n/a n/a
ONIFY_adminUser_email n/a [email protected] [email protected] n/a n/a n/a n/a
ONIFY_apiTokens_app_secret n/a *** *** n/a n/a n/a n/a
ONIFY_resources_baseDir n/a ./data/resources ./data/resources n/a n/a n/a n/a
ONIFY_resources_tempDir n/a ./data/storage ./data/storage n/a n/a n/a n/a
ONIFY_websockets_agent_url n/a ws://{agent-server}:8080/hub ws://{agent-server}:8080/hub n/a n/a n/a n/a
ONIFY_worker_cleanupInterval n/a n/a 30 n/a n/a n/a n/a
ONIFY_api_admintoken Bearer {base64(app:{ONIFY_apiTokens_app_secret})} n/a n/a n/a n/a n/a n/a
ONIFY_api_internalUrl http://{api}:8181/api/v2 n/a n/a n/a n/a n/a n/a
ONIFY_api_externalUrl /api/v2 n/a n/a n/a n/a n/a n/a

* Please contact your local partner or Onify ([email protected]) to get LICENSE, CLIENT CODE and INSTANCE CODE.

Explanation

Here we explain the meaning of the different DEPLOYMENT settings.

What Meaning
Service Name of the service
Optional If the service is optional or not
Ports What ports that are used for the container. These should be forwarded to port 80 or 443.
Public If the container should be exposed outside the cluster.
Stateless Neither reads nor stores information about its state from one time that it is run to the next.
Internet access The service requires internet access. Mostly used for Git communication.
Depends on What other containers/services that it depends on (or links to).
Pods If the container can be scaled or not.
Source Source code for logging purposes.
DNS name Does the service need a seperate DNS name or not.
SSL cert Does the service need a SSL certificate. Related to DNS name.
Image Container (Docker) image.