2019-10-27 13:44:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
sudo mkdir -p /homeautomation-config/node-red
|
|
|
|
sudo chmod -R a+rw /homeautomation-config/node-red
|
|
|
|
|
|
|
|
cat <<ENV > .env
|
2019-11-10 21:29:03 +02:00
|
|
|
MYSQL_ROOT_PASSWORD=$(pass reekynet/docker-home-automation | rg 'MYSQL_ROOT_PASSWORD' | cut -d' ' -f2-)
|
|
|
|
HA_MYSQL_PASSWORD="$(pass reekynet/docker-home-automation | rg 'HA_MYSQL_PASSWORD' | cut -d' ' -f2-)
|
|
|
|
DECONZ_VNC_PASSWORD=$(pass reekynet/docker-home-automation | rg 'DECONZ_VNC_PASSWORD' | cut -d' ' -f2-)
|
2019-10-27 13:44:08 +02:00
|
|
|
ENV
|
|
|
|
|
2019-10-27 15:16:04 +02:00
|
|
|
docker-compose up -d
|