mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
13 lines
465 B
Bash
13 lines
465 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
sudo mkdir -p /homeautomation-config/node-red
|
||
|
sudo chmod -R a+rw /homeautomation-config/node-red
|
||
|
|
||
|
cat <<ENV > .env
|
||
|
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-)"
|
||
|
ENV
|
||
|
|
||
|
docker-compose up
|