![]() If you don't know it, perhaps use "nano" instead. In /etc/nginx/sites-available, I create a file called plan (as we use as our domain). Having set up the Docker container, which is listening on port 8051 on the Docker container's host, you'll need to set up a reverse proxy on that host to make the site visible to the broader internet on your public IP address (you'll want to make sure the domain you specified above points to that IP address or is a CNAME to a domain that does). e the -restart unless-stopped will ensure that this container is restarted on a reboot unless it's explicitly stopped, like via a docker stop rocketchat, like you might to update the Docker container. Here's a what a made-up example might look like: You could also use an authenticating SMTP server, and specify the details like this: usually 25, 465, or 587]. You can use either a local mail server on the Docker host, in which case you'd put the local IP address of your server, as it would be seen by the Docker container, so 172.17.42.1 is the default IP of a Docker host. You'll need to make sure you set appropriate values for and details for an SMTP (outgoing mail) server, because Rocket.Chat needs to send emails related to things like account registration, forgotten passwords, and configurable notifications, for example to alert you that you've been mentioned in discussions. Note: Please copy and paste the exact text of your "docker run" command into a reference file (I usually have a "README.oeru" reference file in the home directory of each Docker-based app I run) as you will want to refer to it when doing upgrades! restart unless-stopped rocketchat/rocket.chat link mongodb:mongo -e "MONGO_URL=mongodb://mongo/chat" \ v /home/rocketchat/uploads: /var/www/rocket.chat/uploads \ Then you can launch it by running this by first launching your MongoDB container, and then running this (assumes you've named your MongoDB instance "mongodb" as per our instructions):ĭocker run -d -name rocketchat -p 8051:3000 \ Sudo -u rocketchat mkdir /home/rocketchat/uploadsĪssuming you've got Docker installed properly, to install the official Rocket.Chat Docker image, you can just run: Installing Rocket.Chatįirst, we would normally create a rocketchat user to create a place for any persistent data required for the app:Īlthough Rocket.Chat stores almost everything in the MongoDB you've already set up, it can store uploaded files in a designated directory so they survive updates to the Docker image: See our instructions in the MongoDB blog post. ![]() ![]() We'd be grateful to hear about anyone else's experiences in the comments below! Installing Docker Debian 8 or Ubuntu 16.04 or CentOS or others), but should be mostly valid. These instructions will need to be modified slightly for other versions of Linux (e.g. ![]() This instruction set assumes that you have command-line access (via SSH, in most cases) to your server, running Ubuntu Linux 14.04, probably a Virtual Machine hosted in a data centre somewhere - a very inexpensive way to do this is, for example, via DigitalOcean (for the record, we have no relationship with DigitalOcean, I simply have substantial experience with their services), but there are many many options worldwide. User interaction with Rocket.Chat is (and should always be) encrypted via recognised SSL certificates using the brilliant (and gratis) Let's Encrypt service. External user access to Rocket.Chat is provided by the Nginx web server (as a forward proxy). It will, in turn, be linked to another Docker container running MongoDB, and both will be capable of sending email via external authenticating email server. This guide will cover both configuring and launching a Docker container with a working instance of Rocket.Chat. Rocket.Chat instances store their data in another open source tool, a key-value storage engine called MongoDB - these instructions assume that you have already got a running MongoDB installed, and to facilitate that, we've provided this handy MongoDB install guide as a companion. There are currently about 20 channels to which users can subscribe and in which they can participate, dedicated to different topics of discussion. The OERu has a Rocket.Chat instance that has been getting very positive feedback from our Open Education Resource designers and collaborators, who use it to communicate with us at the OER Foundation, and with their fellow collaborators. The real-time collaboration means that if multiple people are using an app at the same time, even if they're spread across the world, they'll see the changes others are making in real-time. Rocket.Chat is built on a powerful open source real-time collaboration platform called Meteor (which, in turn, is built on the Node.JS open source framework), which supports real-time collaborative applications. Rocket.Chat is a modern, open source messaging application which is functionally similar to a popular (and heavily marketed) proprietary tool called Slack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |