Deploy Guacamole
Last updated
Was this helpful?
Last updated
Was this helpful?
Some cred to: (I use MariaDB instead of postgres)
Spin up the database container (needed to extract the intidb.sql - there are probably other ways but most seems to be doing it like this)
example docker-compose
ssh to your docker node and run: docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql > initdb.sql
Then copy the initdb.sql into the database container deployment: docker cp initdb.sql guacamoledb:/initdb.sql
Enter the shell on the database container: docker exec -it guacamoledb bash
Import: cat initdb.sql | mariadb -u root -p guacamole_db
(enter root password when asked)
exit
Stop the db container: docker-compose down
Edit the docker-compose.yml
default port is 8080, change to whatever depending on how you reverse proxy it
Take note of:
Which adds the prefix /guacamole to the url, so https://guacamole.domain.com becomes https://guacamole.domain.com/guacamole which is required for the offical image