nginx-proxy:
docker exec -ti nginx-proxy /bin/bash --login
cd /ssl
ln -s letsencrypt/live/chat.cloyne.org/fullchain.pem chat.cloyne.org.crt
ln -s letsencrypt/live/chat.cloyne.org/privkey.pem chat.cloyne.org.key
exit
docker exec --user root -ti rocketchat /bin/bash --login
/etc/service/rocketchat/run
502 bad gateway, check docker network inspect server3.cloyne.org and confirm the internal IP address of the rocketchat container. Go back into nginx-proxy and make sure the upstream in /etc/nginx/sites-enabled/zzz-virtual.conf matches, then restart nginx with sv restart nginx.First, run the mongo container.
Then initiate the replica set within the mongo container:
docker exec --user root mongo mongo --eval "rs.initiate()"
Then start the rocketchat service as in step 3 above.
First, do a csv import according to these instructions. Any new users created this way will start out deactivated. To activate them, you must log into the database:
docker exec --user root -ti mongo /bin/bash --login
root@mongo:/# mongo
rs01:PRIMARY> use rocketchat
rs01:PRIMARY> db.users.update({username: "NAME"}, {$set: {active: true}})
for adding a single user
Content type
Image
Digest
sha256:aa6cce4c9…
Size
881.7 MB
Last updated
over 3 years ago
docker pull cloyne/rocketchat