Skip to content

ahmaxed/chat-config

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.2%
  • Shell 1.8%