add public image share
This commit is contained in:
parent
f311b4b269
commit
c5136318e3
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: EPaper Station
|
name: EPaper Station
|
||||||
version: 1.0.0.17
|
version: 1.0.0.18
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish Pictures to EPaper pricetags
|
description: Publish Pictures to EPaper pricetags
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
IMG_DIR="$(bashio::config 'image_path')"
|
||||||
bashio::log.info "Starting nginx..."
|
bashio::log.info "Starting nginx..."
|
||||||
nginx -c /etc/nginx/nginx.conf
|
nginx -g "location /input_img { root $IMG_DIR; }" -c /etc/nginx/nginx.conf
|
||||||
bashio::log.info "nginx running."
|
bashio::log.info "nginx running."
|
||||||
|
|
Loading…
Reference in a new issue