Skip to content

jwdevos/guacamole-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

guacamole-compose

Docker Compose Project For Apache Guacamole

How To Use

  • Clone this repo to a Docker Compose enabled host. For testing, Ubuntu 22.04.1 was used, with Docker installed as described here
  • Make sure you're in the guacamole directory, and no interfering containers or volumes are present (verify by running make status)
  • Run make bootstrap
  • Run make up
  • Connect to Guacamole on the IP of the Docker host: http://X.X.X.X:8080/guacamole. The default credentials are guacadmin:guacadmin
  • If you need a clean environment because something got screwed, run make prune. Be careful: this will remove all data that might have been added to your Guamole environment
  • To bring down the environment without destroying data, run make down
  • View the status by running make status
  • Minimal security steps for production use:
    • Change the passwords in the .env file
    • Don't connect the containers directly to the internet, use a reverse proxy, TLS, and valid certificates. This is one way to do it, although outdated and without compose. A lot of firewalls also have built in reverse proxies and support for Let's Encrypt
    • Uncomment the ENABLE_TOTP setting in the compose file to make Guacamole ask for 2FA registration

Additional Information

  • The basic idea is to use the make command, which gets fed by the Makefile, to perform the Docker and Docker compose operations. This has my preference over typing long Docker commands repeatedly
    • Depending on your environment, you need to either run the Docker Compose commands as docker-compose or as the newer docker compose. This project is based on the newer version, you might need to tailer all Compose commands to the older version depending on your environment
    • The difference is between the Compose versions is explained here. If you use Docker software installed from the native repository of your Linux distribution (like aptitude and yum), depending on your installation, you might be stuck with older versions of Docker and Docker Compose
    • The make bootstrap command runs a mysql command in the database container. The password="" part of the command was needed in the testing environment to make mysql stop asking for a password. This "fix" was needed to allow for an automated setup. The behavior might be different in other versions of the container. During testing, setting it up like this resulted in the required behavior

About

Docker Compose Project For Apache Guacamole

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published