Skip to content

Commit 0185822

Browse files
authoredAug 30, 2024
chore: Update README.md
1 parent 3747bf5 commit 0185822

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed
 

‎examples/guacamole/README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,13 @@
77

88
Before spawning up the Docker Compose stack you have to pre-supply an `initdb.sql` initialization file for the Postgresql database.
99

10-
The file is provided in this repository but can also be created dynamically via:
11-
12-
````
13-
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > initdb.sql
14-
````
15-
16-
Please go ahead and place this init file in the corresponding Docker Volume Bind Mount.
10+
Please go ahead and create this init file in the corresponding Docker Volume bind mount.
1711

1812
````
13+
# create volume dirs
1914
mkdir -p /mnt/docker-volumes/guacamole/psql/init
2015
21-
# Option 1: move init file from this repo to the new location
22-
mv initdb.sql /mnt/docker-volumes/guacamole/psql/init/.
23-
24-
# Option2: create it dynamically and place it to the new location
16+
# create init file dynamically and place it to the new location
2517
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > /mnt/docker-volumes/guacamole/psql/init/initdb.sql
2618
````
2719

0 commit comments

Comments
 (0)