ahmaxed / chat-config

freeCodeCamp.org's official community chat rooms

Home Page:https://chat.freecodecamp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage:

  1. Create a .env

    ROCKETCHAT_VERSION=latest
    PORT=3000
    ROOT_URL=http://localhost:3000
    MONGO_URL=mongodb://urlforthedatabase:27017/rocketchat
    MONGO_OPLOG_URL=mongodb://urlforthedatabase:27017/local
    
    INSTANCE_IP=<ip of the local instance>
    
    INSTANCE_IP_ALPHA=<ip of the first instance>
    INSTANCE_IP_BRAVO=<ip of the other instance>
  2. Replace the keys with required values

  3. Run rocket-chat server

    docker-compose config
    docker-compose up -d

Developing locally:

  1. cp sample.env .env
  2. docker-compose up -d

This manages everything inside Docker (via docker-compose.dev.yml) including setting up a Mongo container and replica set.

About

freeCodeCamp.org's official community chat rooms

https://chat.freecodecamp.org

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:HTML 98.2%Language:Shell 1.8%