This is the docker-compose yaml file for Rocketchat with 2nd factor authentication which works with LDAP and all other authenticators. Since I couldn't wait for it to be merged with the main project I have just modified it a bit to point to a docker image in my docker hub, so it works without problems.
- Create a new folder:
mkdir rocketchat
cd rocketchat/
- Download the yaml file:
curl -o docker-compose.yml https://raw.githubusercontent.com/minkiami/Rocket2fa/master/docker-compose.yml
- Then start a new instance of docker chat listening on localhost:3000.
docker-compose up -d
The original project can be found here.