Guacamole w/TOTP & NGINX

version: "3.3"
services:
  guacamole:
    image: abesnier/guacamole:latest
    container_name: guacamole
    ports:
      - 8080:8080
    environment:
      - EXTENSIONS=auth-totp
      - restart unless-stopped

 

 

If the above doesn't work for some reason, Use the below procedure.

Need to have docker compose installed
=======================================
sudo apt install docker-compose

docker-compose --version
=======================================

From Ubuntu (Host)
git clone "https://github.com/boschkundendienst/guacamole-docker-compose.git"
cd guacamole-docker-compose
nano docker-compose.yml

Add: TOTP_ENABLED: "true" # to line following:

   # guacamole
  guacamole:
    container_name: guacamole_compose
    depends_on:
      - guacd
      - postgres
    environment:
      GUACD_HOSTNAME: guacd
--> TOTP_ENABLED: "true"

=======================================
./prepare.sh

docker-compose up -d
=======================================