In this example we will demo how to deploy SOAJS by leveraging a local Kubernetes cluster. To do this you need to install Docker and enable Kubernetes from the Preferences. click here to learn more
Install SOAJS Installer. click here to learn more
Installation steps
1- you need to create a configuration file as follow:
- mongo: This is where you specify the mongo cluster you want to use. external=false means SOAJS will install an instance of mongo to persist its data there.
- kubernetes: This where you specify the kubernetes information.
- nginx: This is where you specify the following:
- domain: is the main domain
- apiPrefix: the api prefix which will end up as [apiPrefix.domain]
- sitePrefix: the site prefix which will end up as [sitePrefix.domain]
- deployType: can be one of the following:
- NodePort
- LoadBalancer
- sslSecret: This where where you specify how you want to add the https certificate. set this to true to be added as a secret. click here to learn more
- httpPort: Usually this is 80
- httpsPort: Usually this is 443
- owner: the owner user and credential information
0 Comments