From 0185822826e9cb502dfef0e825e41bbdd904f75c Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Fri, 30 Aug 2024 22:09:05 +0200 Subject: [PATCH] chore: Update README.md --- examples/guacamole/README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/examples/guacamole/README.md b/examples/guacamole/README.md index 7ed035f..0999888 100644 --- a/examples/guacamole/README.md +++ b/examples/guacamole/README.md @@ -7,21 +7,13 @@ Before spawning up the Docker Compose stack you have to pre-supply an `initdb.sql` initialization file for the Postgresql database. -The file is provided in this repository but can also be created dynamically via: - -```` -docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > initdb.sql -```` - -Please go ahead and place this init file in the corresponding Docker Volume Bind Mount. +Please go ahead and create this init file in the corresponding Docker Volume bind mount. ```` +# create volume dirs mkdir -p /mnt/docker-volumes/guacamole/psql/init -# Option 1: move init file from this repo to the new location -mv initdb.sql /mnt/docker-volumes/guacamole/psql/init/. - -# Option2: create it dynamically and place it to the new location +# create init file dynamically and place it to the new location docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > /mnt/docker-volumes/guacamole/psql/init/initdb.sql ````