Persistent Shared Storage Volume: We have created a Persistent Shared Storage Volume of glusterfs in Step 6 Deployment & Service Files: Next, we will create Deployment & Service Files for Kubernetes. Restart rocket.chat and it should be working fine. Docker Image: We have created a Docker Image for MongoDB in Step 4 and pushed to docker hub or private docker registry. Pull the Rocket.Chat Docker image from Docker Hub and tag/push to the internal OpenShift registry using these commands: Clone this repo and add the templates and ImageStream to the Openshift. Download and install the OpenShift Client tool. MONGO_OPLOG_URL: mongodb://:27017/local?replSet=rs01 Installation on Container Development Kit (CDK) Download and install CDK. Then modify the rocket.chat docker container adding the variable: Go back into the mongodb console, and run mongo and run rs.initiate() Go to /mnt/user/appdata/mongodb and edit the sample conf changing the dbPath: to /data/db and the modifications to the conf file noted in Īdd "-f /data/db/nf" to the post arguments I was able to get it working by doing the following:Ĭlick on the MongoDB docker icon and select consoleĬp /etc/nf* /data/db/ ( I renamed it before copying, I think it was called nf-sample ) Since last week rocket.chat server will not start. Proxy_set_header X-Forward-For $proxy_add_x_forwarded_for # Make site accessible from server_name localhost Ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH' Īdd_header Strict-Transport-Security "max-age=31536000 includeSubDomains" Ssl_certificate_key /config/keys/letsencrypt/privkey.pem MongoDB is the name of the MongoDB docker container.Ĭhange the variable "Mono DB" (tech name: MONGO_URL) to "mongodb://db/rocketchat"īy default, the first account to register on Rocket Chat becomes the admin, so if your chat room is public, do this immediately in order to prevent someone else from registering and becoming the administrator. ![]() Start Rocket.Chat and after some second it should be reachable over the Web-Frontend URLĪdd in the attribute "Extra Parameters" the value "-link "MongoDB:db"". Mondo-DB (There is a mondoDB docker image for unraid in the CA)Ĭhange the variable "Mono DB" (tech name: MONGO_URL) with the URL of your mongoDB
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |