File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 7
7
8
8
Before spawning up the Docker Compose stack you have to pre-supply an ` initdb.sql ` initialization file for the Postgresql database.
9
9
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.
17
11
18
12
````
13
+ # create volume dirs
19
14
mkdir -p /mnt/docker-volumes/guacamole/psql/init
20
15
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
25
17
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > /mnt/docker-volumes/guacamole/psql/init/initdb.sql
26
18
````
27
19
You can’t perform that action at this time.
0 commit comments