forked from gcgarner/IOTstack
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/AddZigbee2MqttAssistant
- Loading branch information
Showing
22 changed files
with
693 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
/services/ | ||
/volumes/ | ||
/backups/ | ||
/.tmp/* | ||
docker-compose.yml | ||
.outofdate | ||
.outofdate | ||
|
||
!.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/bash | ||
|
||
#deCONZ device configuration | ||
|
||
DOCKER_COMPOSE_PATH=./.tmp/docker-compose.tmp.yml | ||
|
||
if [[ ! -f $DOCKER_COMPOSE_PATH ]]; then | ||
echo "[deCONZ] Warning: $DOCKER_COMPOSE_PATH does not exist." | ||
fi | ||
|
||
device_selection=$(whiptail --radiolist --title "Select deCONZ gateway" --notags \ | ||
"Use the [SPACEBAR] to select your deCONZ gateway from the list below AND MAKE SURE IT IS PLUGGED IN (if not, press [ESC])." 20 78 12 \ | ||
"ConBeeII" "ConBee II " "ON" \ | ||
"ConBee" "ConBee " "OFF" \ | ||
"RaspBee" "RaspBee " "OFF" \ | ||
3>&1 1>&2 2>&3) | ||
|
||
case $device_selection in | ||
|
||
"ConBeeII") | ||
if [[ ! -f ./.templates/deconz/service_conbee_II.yml ]]; then | ||
echo "Error: ./.templates/deconz/service_conbee_II.yml does not exist." | ||
else | ||
cat ./.templates/deconz/service_conbee_II.yml >> $DOCKER_COMPOSE_PATH | ||
echo "...copied ConBee II config from template" | ||
fi | ||
;; | ||
"ConBee") | ||
if [[ ! -f ./.templates/deconz/service_conbee.yml ]]; then | ||
echo "Error: ./.templates/deconz/service_conbee.yml does not exist." | ||
else | ||
cat ./.templates/deconz/service_conbee.yml >> $DOCKER_COMPOSE_PATH | ||
echo "...copied ConBee config from template" | ||
fi | ||
;; | ||
"RaspBee") | ||
if [[ ! -f ./.templates/deconz/service_raspbee.yml ]]; then | ||
echo "Error: ./.templates/deconz/service_raspbee.yml does not exist." | ||
else | ||
cat ./.templates/deconz/service_raspbee.yml >> $DOCKER_COMPOSE_PATH | ||
echo "...copied RaspBee config from template" | ||
fi | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
deconz: | ||
image: marthoc/deconz | ||
container_name: deconz | ||
restart: unless-stopped | ||
ports: | ||
- '8090:80' | ||
- '443:443' | ||
- '5901:5900' | ||
volumes: | ||
- ./volumes/deconz/:/root/.local/share/dresden-elektronik/deCONZ | ||
devices: | ||
#ConBee: | ||
- /dev/ttyUSB0 | ||
environment: | ||
- DECONZ_VNC_MODE=1 | ||
- DECONZ_VNC_PASSWORD=changeme | ||
- DEBUG_INFO=1 | ||
- DEBUG_APS=0 | ||
- DEBUG_ZCL=0 | ||
- DEBUG_ZDP=0 | ||
- DEBUG_OTAU=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
deconz: | ||
image: marthoc/deconz | ||
container_name: deconz | ||
restart: unless-stopped | ||
ports: | ||
- '8090:80' | ||
- '443:443' | ||
- '5901:5900' | ||
volumes: | ||
- ./volumes/deconz/:/root/.local/share/dresden-elektronik/deCONZ | ||
devices: | ||
#ConBee II: | ||
- /dev/ttyACM0 | ||
environment: | ||
- DECONZ_VNC_MODE=1 | ||
- DECONZ_VNC_PASSWORD=changeme | ||
- DEBUG_INFO=1 | ||
- DEBUG_APS=0 | ||
- DEBUG_ZCL=0 | ||
- DEBUG_ZDP=0 | ||
- DEBUG_OTAU=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
deconz: | ||
image: marthoc/deconz | ||
container_name: deconz | ||
restart: unless-stopped | ||
ports: | ||
- '8090:80' | ||
- '443:443' | ||
- '5901:5900' | ||
volumes: | ||
- ./volumes/deconz/:/root/.local/share/dresden-elektronik/deCONZ | ||
devices: | ||
#RaspBee: | ||
- /dev/ttyAMA0 | ||
#alternatively - /dev/ttyS0 | ||
environment: | ||
- DECONZ_VNC_MODE=1 | ||
- DECONZ_VNC_PASSWORD=changeme | ||
- DEBUG_INFO=1 | ||
- DEBUG_APS=0 | ||
- DEBUG_ZCL=0 | ||
- DEBUG_ZDP=0 | ||
- DEBUG_OTAU=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dozzle: | ||
container_name: dozzle | ||
image: amir20/dozzle:latest | ||
restart: unless-stopped | ||
network_mode: host | ||
ports: | ||
- 8888:8080 | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
timescaledb: | ||
container_name: timescaledb | ||
image: timescale/timescaledb:latest-pg12 | ||
restart: unless-stopped | ||
env_file: | ||
- ./services/timescaledb/timescaledb.env | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
- ./volumes/timescaledb/data:/var/lib/postgresql/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POSTGRES_USER=postuser | ||
POSTGRES_PASSWORD=postpassword | ||
POSTGRES_DB=postdb |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.