# you can add more scripts as you'd like here, they need to be installable by npm Image: rocketchat/hubot-rocketchat:latest # hubot, the popular chatbot (add the bot user first and change the password before starting this image) # it will run the command and remove himself (it will not stay running)Ĭommand: 'mongo mongo/rocketchat -eval "rs.initiate()"' # this container's job is just run the command to initialize the replica set. "=Host: "Ĭommand: mongod -smallfiles -oplogSize 128 -replSet rs0 MONGO_OPLOG_URL=mongodb://mongo:27017/local ROOT_URL= - MONGO_URL=mongodb://mongo:27017/rocketchat If you fail to specify the protocol (http) or the port (:3000, but only if you’re using one), the installation won’t work. If you want to use your VPS’ public IP to connect to Rocketchat, replace localhost:3000 with that IP. If you’d like to host Rocketchat on, or even, replace localhost:3000 with that and be sure to have your DNS set up properly. You will need to change the ROOT_URL based on your particular needs. You will need to change a few of the variables to fit your unique installation.įind line 11 of the docker-compose.yml file, which begins with ROOT_URL. Next, create a docker-compose.yml file to tell Docker how you want the system configured: $ sudo nano docker-compose.ymlĬopy/paste the code below example file from Rocketchat. We will place this in our user’s home directory: $ cd ~ Creating the docker-compose fileįirst, we create a space for our docker-compose.yml file. ROCKETCHAT FORUM HOW TOSee How to Install Docker Compose on Linux Systems 3. See How To Install Docker On Ubuntu 16.04 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |