PR comments

This commit is contained in:
kvanzuijlen 2023-05-24 22:55:36 +00:00
parent c627896623
commit 12b2555798
3 changed files with 3 additions and 7 deletions

View file

@ -24,9 +24,6 @@ You have several options to get them answered:
[aarch64-badge]: https://img.shields.io/badge/aarch64--green.svg?logo=arm [aarch64-badge]: https://img.shields.io/badge/aarch64--green.svg?logo=arm
[amd64-badge]: https://img.shields.io/badge/amd64--green.svg?logo=amd [amd64-badge]: https://img.shields.io/badge/amd64--green.svg?logo=amd
[armv7-badge]: https://img.shields.io/badge/armv7--green.svg?logo=arm [armv7-badge]: https://img.shields.io/badge/armv7--green.svg?logo=arm
[aarch64no-badge]: https://img.shields.io/badge/aarch64--orange.svg?logo=arm
[amd64no-badge]: https://img.shields.io/badge/amd64--orange.svg?logo=amd
[armv7no-badge]: https://img.shields.io/badge/armv7--orange.svg?logo=arm
[forum]: https://community.home-assistant.io/ [forum]: https://community.home-assistant.io/
[repository-badge]: https://img.shields.io/badge/Add%20repository%20to%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge [repository-badge]: https://img.shields.io/badge/Add%20repository%20to%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
[repository-url]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fankermgmt%2Fankermgmt-hassio-addons [repository-url]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fankermgmt%2Fankermgmt-hassio-addons

View file

@ -12,8 +12,7 @@ FROM $BUILD_FROM
ARG CONFIG_PATH='/data/options.json' ARG CONFIG_PATH='/data/options.json'
# Add run.sh # Add run.sh
COPY data/run.sh / COPY --chmod=755 data/run.sh /
RUN chmod a+x /run.sh
# Set S6 wait time # Set S6 wait time
ENV S6_CMD_WAIT_FOR_SERVICES=1 \ ENV S6_CMD_WAIT_FOR_SERVICES=1 \

View file

@ -2,6 +2,6 @@
CONFIG_PATH=/data/options.json CONFIG_PATH=/data/options.json
FLASK_HOST="$(jq --raw-output '.flask_host // empty' $CONFIG_PATH)" export FLASK_HOST="$(jq --raw-output '.flask_host // empty' $CONFIG_PATH)"
/app/ankerctl.py webserver run --host="${FLASK_HOST}" /app/ankerctl.py webserver run