Apache Guacamole out of the box compose setup with Nginx Reverse Proxy, Lets Encrypt. Simple and easy deployable with Docker Compose. Uses only Official Guacamole Docker Images
This Docker Compose setup makes it very easy (only 3 cli commands) to run Apache Guacamole behind a NGINX reverse proxy TLS secured with Let's Encrypt.
Although this repo is 4 years old it still works today and is up to date (Sept. 2021) because it uses the latest offical guacamole images.
Before you start the service, define three mandatory variables.
The easiest way is to create a .env
file in your working directory eg.:
cut > .env <<EOF
POSTGRES_PASSWORD=*****
VIRTUAL_HOST=workshop.8gears.com
[email protected]
EOF
Copy the docker-compose.yml
from this repository to your computer.
Run the service init-guac-db
once before starting all other services. This one off job will export the application database schema so Postgres can pick it up when it starts and initialize the database with values and schema for Guacamole.
docker-compose up init-guac-db
The job should start and terminate after the schema is created:
Finally we can start Guacamole.
docker-compose up -d
Now go to your application https://workshop.domain.org/guacamole and login as guacadmin/guacadmin. Don't forget to change the password in the next step.
It is possible to add extensions (.jar) to this compose project. See a working example from contributor @marekschneider.