Browse Source

Update README.md

pull/4/head
Tai 5 years ago committed by GitHub
parent
commit
f6f3c57318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      rocketchat/README.md

6
rocketchat/README.md

@ -17,8 +17,7 @@ subdomain.example.com { @@ -17,8 +17,7 @@ subdomain.example.com {
```
### .env
set your environment variables
https://github.com/StarWhiz/docker_deployment_notes/blob/master/rocketchat/.env
Set your environment variables. SMTP service is needed if you want rocketchat to be able to send emails.
```
# General
MY_DOMAIN=example.com
@ -31,7 +30,6 @@ ROCKETCHAT_BOT_PASSWORD=samplebotpassword @@ -31,7 +30,6 @@ ROCKETCHAT_BOT_PASSWORD=samplebotpassword
```
### docker-compose.yml
https://github.com/StarWhiz/docker_deployment_notes/blob/master/rocketchat/docker-compose.yml
```
version: '2'
@ -126,4 +124,4 @@ networks: @@ -126,4 +124,4 @@ networks:
After you have the .env and docker-compose files set up in this directory. Do a ```docker-compose up -d``` to start the containers. It should take about 30-60 seconds to launch.
### Finalization - Hubot
After you can access your rocketchat server, you can stop the hubot errors for happening by creating a new bot user in Administration > Users > + New. Then create a bot with username bot, and email bot@yourdomain.com and password to match the password you used in the .env file. Lastly, for role choose bot and hit save. Now if you do a `docker logs rocketchat-hubot` you won't see any more errors and the container will stop restarting over and over again.
After you can access your rocketchat server, you can stop the hubot errors for happening by creating a new bot user in Administration > Users > + New. Then create a bot with username bot, and email bot@yourdomain.com and password to match the password you used in the .env file. Lastly, for role choose bot and hit save. Now if you do a `docker logs rocketchat-hubot` you won't see any more errors and the container will stop restarting over and over again.

Loading…
Cancel
Save