-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathendpoint-run.txt
20 lines (15 loc) · 2.05 KB
/
endpoint-run.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
docker rm -f fused_home || true
docker pull localhost:5000/fused_home
docker run -d --name fused_home --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/.linode-cli:/root/.linode-cli -v /mnt/appdata/fused_home/router.key:/root/.router.key -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 10 --restart on-failure:10 localhost:5000/fused_home
docker rm -f fused_home_lights || true
docker rm -f fused_home_sensors || true
docker rm -f fused_home_ddns || true
docker rm -f fused_home_boiler || true
docker rm -f fused_home_router || true
docker pull localhost:5000/fused_home
docker run -d --name fused_home_ddns --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/linode-cli:/root/.linode-cli -v /mnt/appdata/fused_home/router.key:/root/.router.key -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 10 --restart on-failure:10 localhost:5000/fused_home python3 fused_home/ddns.py
docker run -d --name fused_home_boiler --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 10 --restart on-failure:10 localhost:5000/fused_home python3 fused_home/boiler_watchdog.py
docker run -d --name fused_home_lights --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 10 --restart on-failure:10 localhost:5000/fused_home python3 fused_home/lights.py
docker run -d --name fused_home_sensors --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 10 --restart on-failure:10 localhost:5000/fused_home python3 fused_home/sensors.py
docker run -d --name fused_home_router --net=host -e EXTERNAL_INTERFACE=eth1 -v /mnt/appdata/fused_home/router.key:/root/.router.key -v /mnt/appdata/fused_home/logs/:/root/logs --memory=256m -c 9999 --restart on-failure:9999 localhost:5000/fused_home python3 fused_home/hotbox.py
docker run -d --name home-assistant -v /mnt/appdata/hass/config:/config -v /etc/localtime:/etc/localtime:ro --net=host --memory=512m -c 9999 --restart on-failure:9999 localhost:5000/homeassistant/home-assistant:stable