2024-02-15 12:14:56 +00:00
|
|
|
# References
|
|
|
|
|
|
|
|
- https://hub.docker.com/r/guacamole/guacamole/
|
2024-05-21 15:00:53 +00:00
|
|
|
- https://theko2fi.medium.com/apache-guacamole-session-recordings-and-playback-in-browser-f095fcfca387
|
2024-02-15 12:14:56 +00:00
|
|
|
|
|
|
|
# Notes
|
|
|
|
|
|
|
|
Before spawning up the Docker Compose stack you have to pre-supply an `initdb.sql` initialization file for the Postgresql database.
|
|
|
|
|
2024-08-30 20:09:05 +00:00
|
|
|
Please go ahead and create this init file in the corresponding Docker Volume bind mount.
|
2024-02-15 12:14:56 +00:00
|
|
|
|
|
|
|
````
|
2024-08-30 20:09:05 +00:00
|
|
|
# create volume dirs
|
2024-02-15 12:16:42 +00:00
|
|
|
mkdir -p /mnt/docker-volumes/guacamole/psql/init
|
2024-02-15 12:14:56 +00:00
|
|
|
|
2024-08-30 20:09:05 +00:00
|
|
|
# create init file dynamically and place it to the new location
|
2024-02-15 12:16:42 +00:00
|
|
|
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > /mnt/docker-volumes/guacamole/psql/init/initdb.sql
|
2024-02-15 12:14:56 +00:00
|
|
|
````
|
|
|
|
|
|
|
|
Afterwards, you can spawn up the Docker stack as follows:
|
|
|
|
|
|
|
|
````
|
|
|
|
docker compose up -d
|
|
|
|
````
|
|
|
|
|
2024-02-15 12:18:13 +00:00
|
|
|
The Guacamole login is available at `http://<YOUR-IP>:8080/guacamole`.
|
2024-02-15 12:14:56 +00:00
|
|
|
|
|
|
|
The default username is `guacadmin`. The default password is `guacadmin`.
|