internal_url
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
build_from:
|
||||
aarch64: ghcr.io/home-assistant/aarch64-base:3.16
|
||||
amd64: ghcr.io/home-assistant/amd64-base:3.16
|
||||
armhf: ghcr.io/home-assistant/armhf-base:3.16
|
||||
armv7: ghcr.io/home-assistant/armv7-base:3.16
|
||||
i386: ghcr.io/home-assistant/i386-base:3.16
|
||||
aarch64: ghcr.io/home-assistant/aarch64-base:3.18
|
||||
amd64: ghcr.io/home-assistant/amd64-base:3.18
|
||||
armhf: ghcr.io/home-assistant/armhf-base:3.18
|
||||
armv7: ghcr.io/home-assistant/armv7-base:3.18
|
||||
i386: ghcr.io/home-assistant/i386-base:3.18
|
||||
codenotary:
|
||||
signer: notary@home-assistant.io
|
||||
base_image: notary@home-assistant.io
|
||||
|
||||
@@ -3,14 +3,21 @@
|
||||
arch="$(apk --print-arch)"
|
||||
case "$arch" in \
|
||||
aarch64) arch='arm64' ;; \
|
||||
armhf) arch='armhf' ;; \
|
||||
armv7) arch='arm' ;; \
|
||||
amd64) arch='x86_64' ;; \
|
||||
i386) arch='x86' ;; \
|
||||
esac;
|
||||
echo "AirSendWebService arch ${arch}"
|
||||
echo "AirSendWebService arch: ${arch}"
|
||||
hname="$(hostname -i)"
|
||||
echo "internal_url: http://${hname}:33863"
|
||||
|
||||
if [ -n "${SUPERVISOR_TOKEN:-}" ]; then
|
||||
echo ${SUPERVISOR_TOKEN} > hass_api.token
|
||||
fi
|
||||
|
||||
cd /home
|
||||
echo ${SUPERVISOR_TOKEN} > hass_api.token
|
||||
ulimit -n 4096
|
||||
./bin/unix/${arch}/AirSendWebService 99399
|
||||
php -S 127.0.0.1:80 callback.php
|
||||
sleep infinity
|
||||
|
||||
Reference in New Issue
Block a user