File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 5
5
# check user 1883
6
6
if [ $( grep -c ' user: \"1883\"' ./services/mosquitto/service.yml) -eq 1 ]; then
7
7
echo " ...found user 1883"
8
+ sudo mkdir -p ./volumes/mosquitto/data/
9
+ sudo mkdir -p ./volumes/mosquitto/log/
8
10
sudo chown -R 1883:1883 ./volumes/mosquitto/
9
11
fi
10
12
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo ' Use the command "psql DATABASE USER" to enter your database, replace DATABASE and USER with your values'
4
+ echo " Remember to end queries with a semicolon ;"
5
+
6
+ docker exec -it postgres bash
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ IOTstack is a builder for docker-compose to easily make and maintain IoT stacks
6
6
7
7
The bulk of the README has moved to the Wiki. Please check it out [ here] ( https://github.com/gcgarner/IOTstack/wiki )
8
8
9
+ * 2019-12-03 BUGFIX Mosquitto: Fixed issue where mosquitto failded to start as a result of 11-28 change
10
+ * 2019-12-03 Added terminal for postgres, temporarily removed setfacl from menu
9
11
* 2019-11-28 PR @stfnhmplr added diyHue
10
12
* 2019-11-28 Fixed update notification on menu
11
13
* 2019-11-28 Fixed mosquitto logs and database not mapping correctly to volumes. Pull new template to fix
@@ -22,9 +24,6 @@ The bulk of the README has moved to the Wiki. Please check it out [here](https:/
22
24
* Menu: Now remembers last stack selection, first build will be blank then the next will select your last containers
23
25
* BUGFIX: fixed issue where rsync gave issue on 'Preserve Environment and Config files'
24
26
* BUGFIX: I incorrecly changed mosquittos volume mapping and it caused the container to restart. Reverted to the old volume mapping
25
- * Added RTL_433 native and docker installs
26
- * Added update project through the menu
27
- * Added bash aliases for easier docker stop and start commands
28
27
29
28
***
30
29
Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ function yml_builder() {
129
129
bash ./.templates/$1 /directoryfix.sh
130
130
fi
131
131
132
+ # make sure terminal.sh is executable
133
+ [ -f ./services/$1 /terminal.sh ] && chmod +x ./services/$1 /terminal.sh
134
+
132
135
}
133
136
134
137
# ---------------------------------------------------------------------------------------------------
@@ -228,7 +231,7 @@ case $mainmenu_selection in
228
231
echo " services:" >> docker-compose.yml
229
232
230
233
# set the ACL for the stack
231
- docker_setfacl
234
+ # docker_setfacl
232
235
233
236
# store last sellection
234
237
[ -f ./services/selection.txt ] && rm ./services/selection.txt
You can’t perform that action at this time.
0 commit comments