working local docker file
This commit is contained in:
1 parent
1e44a28919
commit
ae51b7de6f
4 files changed
+55
-24
No files matched your search
+1
-1
@@ -41,4 +41,4 @@ ENV HASSIO_TOKEN ""
|
|||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD [ "/data/venv/bin/python", "-m", "uvicorn", "src.app:app" ]
|
CMD [ "/data/venv/bin/python", "-m", "uvicorn", "src.app:app", "--host", "0.0.0.0", "--port", "8000" ]
|
||||||
+11
-1
@@ -3,9 +3,19 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"slug": "shortumation",
|
"slug": "shortumation",
|
||||||
"description": "A homeassitant addon which provides better UI for the automation.",
|
"description": "A homeassitant addon which provides better UI for the automation.",
|
||||||
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
"arch": [
|
||||||
|
"armhf",
|
||||||
|
"armv7",
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"i386"
|
||||||
|
],
|
||||||
"startup": "before",
|
"startup": "before",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
|
"webui": "http://[HOST]:[PORT:8000]/web",
|
||||||
|
"map": [
|
||||||
|
"config:rw"
|
||||||
|
],
|
||||||
"options": {},
|
"options": {},
|
||||||
"schema": {
|
"schema": {
|
||||||
"8000/tcp": 8000
|
"8000/tcp": 8000
|
||||||
|
|||||||
@@ -1,27 +1,46 @@
|
|||||||
- id: "1616887975473"
|
- id: '1616887975473'
|
||||||
alias: Home Assistant Off
|
alias: Home Assistant Off
|
||||||
description: ""
|
description: ''
|
||||||
trigger:
|
trigger_variables:
|
||||||
- platform: homeassistant
|
|
||||||
event: shutdown
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- device_id: 2a98db84af7526c7ec3cc7aebd1a9e1c
|
|
||||||
domain: mobile_app
|
|
||||||
type: notify
|
|
||||||
title: Hassio Status
|
|
||||||
message: Hassio Is turning off...
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: "1616888026264"
|
|
||||||
alias: Home Assistant On
|
|
||||||
description: ""
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
event: start
|
event: shutdown
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- device_id: 2a98db84af7526c7ec3cc7aebd1a9e1c
|
- device_id: 2a98db84af7526c7ec3cc7aebd1a9e1c
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
title: Hassio Status
|
title: Hassio Status
|
||||||
message: Home assistant is up!
|
message: Hassio Is turning off...
|
||||||
|
- choose: []
|
||||||
|
default: []
|
||||||
|
alias: choose better days
|
||||||
|
- id: '1616888026264'
|
||||||
|
alias: Home Assistant On
|
||||||
|
description: ''
|
||||||
|
trigger:
|
||||||
|
- platform: homeassistant
|
||||||
|
event: start
|
||||||
|
condition: []
|
||||||
|
action:
|
||||||
|
- device_id: 2a98db84af7526c7ec3cc7aebd1a9e1c
|
||||||
|
domain: mobile_app
|
||||||
|
type: notify
|
||||||
|
title: Hassio Status
|
||||||
|
message: Home assistant is up!
|
||||||
|
- id: shortu-2
|
||||||
|
alias: Neat trick
|
||||||
|
description: ''
|
||||||
|
trigger_variables:
|
||||||
|
mode: queued
|
||||||
|
trigger: []
|
||||||
|
condition: []
|
||||||
|
action:
|
||||||
|
- alias: Choose
|
||||||
|
default: []
|
||||||
|
choose: []
|
||||||
|
- service: lights.turn_on
|
||||||
|
target:
|
||||||
|
entity: bear
|
||||||
|
data: {}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# empty configuration file
|
||||||
|
cloud:
|
||||||
Reference in new issue
Block a user