![]() ![]() Please be sure to use the same value as CCE (kubernetes) won’t be able to resolve the name Public Service: No – Service name: mongo (warning: ‘mongo’ is the value defined as env variable for RocketChat MONGO_URL. – Instances: 1 (to match the Architecture described above) – Node: Automatic (you can chose a node if you want to deploy on a specific node on the CCE cluster) – AZ: Automatic (you can chose ‘custom’ if you want to deploy on specific AZ) – Template Name: the mongoDB template created on previous step (mongodb) > App Component: Click on “Create Component”: Please be sure to use the same value as CCE (kubernetes) won’t be able to resolve the name Create the Containerized ApplicationĬCE -> App Manager -> Create a Containerized App MONGO_URL : mongodb://mongo/mydb (warning: ‘mongo’ will be the name of the service created on the next step. It will use DockerHub registry by default: ( ) and we want to use the official Rocket.chat image ( ) so value on the text box will be “” Create rocket.chat CCE component template – Memory/CPU: default value (no ressources caping)Ģ. It will use DockerHub registry by default: ( ) and we want to use the official mongoDB image ( ) so value on the text box will be “mongo” – Container Image: External Container Image. Cloud Container Engine: to deploy Rocket.chat server and mongoDB database.Note that it is not the best pratice as there is no data persitence for mongoDB, for production use it is recommended to use aaS solution (Document Database Service), the point here is to deploy a basic rocket.chat thatt can be used for demo or training sessions. 1 instance of rocket.chat and 1 instance of mongoDB database will be deployed on nodes. The CCE cluster is deployed on 2 availability zones (AZ) and contains 2 nodes (based on Elastic Cloud Servers (ECS)). Best practice is to deploy nodes on both AZ (cf. It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms. Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework. The goal of this demo is to deploy a rocket.chat server on CCE using various FE services. Static files can be hosted on a OBS bucket (not included on this tutorial as it can be done by installing a WordPress s3 plugin like ) 3 instances of wordpress (frontends) will be deployed on nodes and interconnected to a mySQL RDS database. The CCE cluster is be deployed on 2 availability zones (AZ) and contains 3 nodes (based on Elastic Cloud Servers (ECS)). You will need the DB password on the next step. ![]() a mySQL RDS database that can be reached by the CCE Cluster (network and Security Groups) (cf.Just create the ELB, no Listeners are requested). classic or enhanced load blancer creation guide. Web access to Flexible Engine platform (APIs are not used for now).Used by more than 60 million websites, including 30.6% of the top 10 million websites as of April 2018, WordPress is the most popular website management system in use. It is most associated with blogging, but supports other types of web content including more traditional mailing lists and forums, media galleries, and online stores. Features include a plugin architecture and a template system. WordPress is a free and open-source content management system (CMS) based on PHP and MySQL. Obtaining the running rocket-chat version rocketChatApi.The goal of this demo is to deploy a wordpress website on CCE using various FE services. Var rocketChatApi = new RocketChatApi('http', config.host, config.port, er, config.password, "v1") Var rocketChatApi = new RocketChatApi('http', config.host, config.port, er, config.password) Install with the node package manager npm: $ npm install rocketchat-clientĮxamples Create the rocket-chat client // rocketchat api wrapper ![]() This Lib library package the following functions: RocketChatApi Var RocketChatClient = require('rocketchat').RocketChatClient Var RocketChatApi = require('rocketchat').RocketChatApi getting started npm install rocketchat-client A version of 0.57 means this release was tested against the official docker image of rocket.chat:0.57. The Version of this library is in sync with the rocket.chat release. RocketChat REST API document can be found here. RocketChat official website address can be found here. ![]() A node.js module, which provides an object oriented wrapper for the RocketChat REST API. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |