![]() ![]() RC image will be rocketchat/rocket.chat:latest that's the official image from RC team. Also, be sure to configure ROOT_URL variable with that same public name. If you are planning on using your instance outside your LAN or via official Rocket.chat apps, you will have to have a valid public name and certificate. volume1/docker/rocketchat:/app/uploads Rocket.Chat container Rocket.Chat docker-compose example version: '3.1' With all that, we are done with mongoDB container. Not the port that will be visible on the host side. NOTE: Make sure that rs# parameter is the same one as the one that you have entered in your conf file as well as the port number that needs to be the same as your mongoDB INTERNAL/container port. Mongo -u root -p yourRootPass -authenticationDatabase admin The reason is that we will have to convert this mongoDB instance as the 1st replica node (no matter that there will be no other nodes in the future, this is how RC currently works, and demands the setting).Īfter you have started bash command inside the mongodb container (via Terminal tab for example). Now 1st thing we need is an admin mongoDB database. To do that connect to your container via a command line or the Terminal tab in Synology UI (or via Portainer if you are running it) using the bash command. Open up a text editor and create one with the following content: replication:Īfter you have set up the container you will need to prepare it to run in replica mode. One more thing that needs to be configured for all this to work is to prepare the conf file (that will be mapped as a volume). IMPORTANT: Be sure that you will enter the following command in the CMD parameter when creating this container! This can be set under the Environmental variable tab (Synology Docker UI on the bottom of the tab), or as part of the docker-compose. MONGO_INITDB_ROOT_PASSWORD = define a pass for your root account./your/local/folder/mongodb/nf:/etc/nfĮnvironment variables (apart from the default ones):.MONGO_INITDB_ROOT_PASSWORD: mongorootpassįor this setup, we can use mongo:latest image configured with the following settings (I will not post docker compose file here considering some people might use the Synodocker UI): ![]() ![]() MongoDB container Mongo docker-compose example version: '3.1'Ĭommand: mongod -oplogSize 128 -replSet rs0 In the past month, the RC DEV team has made a change on the MongoDB side that got many users upset because the new version of RC (1.0+) would not run without the proper settings on the MongoDB instance. This platform will be run via Docker considering it's not supported natively via package center (Synology has its own version called Chat). To conclude, considering that it's open-source you can customize it to your needs (CSS, logo, and fonts for example). The platform can be accessed via a web UI, and any modern mobile or desktop OS. On top of all this, there are also options to send files, run separate discussions, links, and more. In short, RC is a platform that will allow you to run your very own, private chat platform by means of using private messages, public and private channels, E2E encryption (still in beta), and even voice and audio. Just in case that you haven't heard about any of those platforms or have never used them, let's say in short what RC is. Enter, Rocket.Chat Web, desktop, and mobile apps with integration to other commercial platforms In this tutorial, we will focus on running an open-source, private alternative to those platforms. CPUs with AVX support are needed, more info hereĭid you hear of SLACK? How about Discord? Microsoft Teams? Great! Then you know what this tutorial will be all about. WARNING: Keep in mind that MongoDB 4.4-5.0+ will not work on Pentinum and Celeron CPU type NAS models! Top version that will work is v4.2.19. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |