trying different things with config

This commit is contained in:
root committed 2022-01-05 16:59:50 -05:00
1 parent 4558620553
commit 3c9c43a39c
3 files changed
+16 -4

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@ COPY --from=pybuilder /python/venv /data/venv
COPY --from=webbuilder /web/build /data/web
COPY api/src /data/src
COPY run.sh run.sh
ENV HASSIO_TOKEN ""
ENV BUILD_VERSION $BUILD_VERSION
@@ -48,5 +48,5 @@ LABEL \
io.hass.type="addon" \
io.hass.arch="armhf|aarch64|i386|amd64"
CMD [ "/data/venv/bin/python", "-m", "uvicorn", "src.app:app", "--host", "0.0.0.0", "--port", "8000" ]
CMD [ "/run.sh" ]
+9 -2
View File
@@ -1,6 +1,6 @@
{
"name": "Shortumation",
"version": "0.0.2",
"version": "0.0.4b",
"slug": "shortumation",
"url": "https://github.com/asosnovsky/Shortumation",
"description": "A homeassitant addon which provides better UI for automations & scripts.",
@@ -13,7 +13,14 @@
],
"startup": "application",
"boot": "auto",
"webui": "http://[HOST]:[PORT:8000]/web",
"ingress": true,
"ingress_port": 8000,
"ingress_entry": "/web",
"panel_icon": "mdi:home-automation",
"hassio_role": "manager",
"auth_api": true,
"privileged": ["SYS_RAWIO"],
"host_network": true,
"map": [
"config:rw"
],
Executable
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
echo $(ls .)
/data/venv/bin/python -m uvicorn src.app:app --host "0.0.0.0" --port 8000