From ed8e2b9e9ed67097d4fdc7913df1c6cd2d96d3f7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 12 Mar 2021 18:12:41 +0100 Subject: Some more articles reformatting --- content/blog/miscellaneous/rocketchat.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'content/blog/miscellaneous/rocketchat.md') diff --git a/content/blog/miscellaneous/rocketchat.md b/content/blog/miscellaneous/rocketchat.md index 072658d..d0cc370 100644 --- a/content/blog/miscellaneous/rocketchat.md +++ b/content/blog/miscellaneous/rocketchat.md @@ -1,11 +1,18 @@ --- title: "RocketChat" -linkTitle: "RocketChat" date: 2019-08-06 -description: > - RocketChat +description: How to quickly setup a RocketChat container with docker +tags: + - docker + - toolbox --- +## The problem + +I needed to test some scripts that interact with a rocketchat instance at work. The documentation was lacking especially the mongo initiate part so here is how I did it. + +## The commands + Docker simple install : {{< highlight sh >}} docker run --name db -d mongo --smallfiles --replSet hurricane @@ -15,4 +22,3 @@ docker exec -ti db mongo docker run -p 3000:3000 --name rocketchat --env ROOT_URL=http://hurricane --env MONGO_OPLOG_URL=mongodb://db:27017/local?replSet=hurricane --link db -d rocket.chat {{< /highlight >}} - -- cgit v1.2.3