mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Add appdaemon
This commit is contained in:
+30
-13
@@ -5,19 +5,6 @@ volumes:
|
||||
mosquitto_log: {}
|
||||
|
||||
services:
|
||||
homeassistant:
|
||||
container_name: home-assistant
|
||||
image: homeassistant/home-assistant:stable
|
||||
volumes:
|
||||
- ../config:/config
|
||||
devices:
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
- /dev/ttyACM1:/dev/ttyACM1
|
||||
environment:
|
||||
- TZ=Europe/Sofia
|
||||
restart: always
|
||||
network_mode: host
|
||||
|
||||
mosquitto:
|
||||
container_name: mosquitto
|
||||
image: eclipse-mosquitto:latest
|
||||
@@ -30,3 +17,33 @@ services:
|
||||
- "1883:1883"
|
||||
- "9001:9001"
|
||||
restart: always
|
||||
|
||||
homeassistant:
|
||||
container_name: home-assistant
|
||||
image: homeassistant/home-assistant:stable
|
||||
volumes:
|
||||
- ../config:/config
|
||||
devices:
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
- /dev/ttyACM1:/dev/ttyACM1
|
||||
environment:
|
||||
- TZ=Europe/Sofia
|
||||
restart: always
|
||||
network_mode: host
|
||||
depends_on:
|
||||
- mosquitto
|
||||
|
||||
appdaemon:
|
||||
container_name: appdaemon
|
||||
image: acockburn/appdaemon:latest
|
||||
environment:
|
||||
- HA_URL="http://homeassistant:8123/"
|
||||
- TOKEN="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhZGUyYTRkNjQ1MGU0ZmViYjcwZjg3ODQwMDM2YmEzYiIsImlhdCI6MTU4OTE0MjAzMSwiZXhwIjoxOTA0NTAyMDMxfQ.m5o3_AalDcmeA7lw-kKM4PM3VTuOrggbRlX_actp_do"
|
||||
- DASH_URL="http://$HOSTNAME:5050"
|
||||
ports:
|
||||
- 5050:5050
|
||||
volumes:
|
||||
- ${HOME}/docker_data/appdaemon/config:/conf
|
||||
depends_on:
|
||||
- homeassistant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user