Files
addons/vlc/rootfs/etc/cont-init.d/ingress.sh
Pascal Vizeli 9fd88b5e35 Add VLC add-on (#1862)
* Add VLC add-on

* remove armhf support
2021-02-16 17:49:06 +01:00

12 lines
449 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Prepair VLC for ingress access
# ==============================================================================
# Generate NGINX config
bashio::var.json \
supervisor_ip "$(getent hosts supervisor | awk '{ print $1 }' | head -1)" \
| tempio \
-template /usr/share/tempio/nginx.conf \
-out /etc/nginx/nginx.conf