How do I add and persist TOTP into a guacamole docker container setup? reddit / selfhosted ---------------------------------------------------------------------- donmreddit · 2023-12-08 22:44 Hi - I've gotten a basic Apache Guacamole setup done, using a few articles. For example, I can run the mysql container, guacd container, and the guacamole container. Then configure an SSH target, create a user, and get to the target. (and it works!). OH - and my 'mysql' directory is in a docker volume, so the user db persists. The next thing we want to do is to setup the TOTP authentication extension. I created a docker volume, copied the jar file into /opt/guacamole/extensions (assume thats the right directory). Next, I read that I need to edit [guacamole.properties](https://guacamole.properties), which I found in /home/.guacamole/. Next, it appears that I need to add some entries into the props file. So here's the question - how should I go about editing the props file? vi and nano are not in the image. One option - I could copy it out, and then copy it in right after the docker run command, but that leaves the props file on the host file system. Any solutions or Thoughts out there? Thanks in advance. ​ ---------------------------------------------------------------------- DecideUK · 2023-12-09 07:00 With the official docker image iirc shouldn't need to mess around with extensions. Add TOTP_ENABLED: "true" to your guacamole environment in docker compose file should be enough.