mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-23 01:53:59 +02:00
Compare commits
8 Commits
c9dbead39c
...
fix/nginx-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
752ae829d3 | ||
|
|
c4b603ecf7 | ||
|
|
e62389edb9 | ||
|
|
44d9333915 | ||
|
|
d89a6be2fa | ||
|
|
96c2aa45e9 | ||
|
|
b7acd8fb97 | ||
|
|
b13081dec0 |
@@ -1,18 +1,14 @@
|
|||||||
ARG BUILD_FROM=jc21/nginx-proxy-manager:latest
|
ARG BUILD_FROM=jc21/nginx-proxy-manager:latest
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
# NPM is Debian-based; install jq for options parsing + stub with-contenv if absent
|
# NPM is Debian-based; install jq for options parsing and ensure bash is present.
|
||||||
# hadolint ignore=DL3008
|
# hadolint ignore=DL3008
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends jq \
|
&& apt-get install -y --no-install-recommends bash jq \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
&& if ! command -v with-contenv >/dev/null 2>&1; then \
|
|
||||||
printf '#!/usr/bin/env bash\nexec "$@"\n' > /usr/bin/with-contenv \
|
|
||||||
&& chmod +x /usr/bin/with-contenv; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
COPY run.sh /npm-addon-init.sh
|
COPY run.sh /npm-addon-init.sh
|
||||||
RUN chmod +x /npm-addon-init.sh
|
RUN chmod 0755 /npm-addon-init.sh
|
||||||
|
|
||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
LABEL \
|
LABEL \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: "Nginx Proxy Manager + Static Web Server"
|
name: "Nginx Proxy Manager + Static Web Server"
|
||||||
slug: nginx_webserver_proxy
|
slug: nginx_webserver_proxy
|
||||||
description: "Nginx Proxy Manager with a built-in configurable static file server. Manage reverse proxies via NPM UI on port 81 while serving files from HA storage on port 80."
|
description: "Nginx Proxy Manager with a built-in configurable static file server. Manage reverse proxies via NPM UI on port 81 while serving files from HA storage on port 80."
|
||||||
version: "2.14.0"
|
version: "2.14.1"
|
||||||
url: "https://github.com/alexbelgium/hassio-addons/tree/master/nginx_webserver_proxy"
|
url: "https://github.com/alexbelgium/hassio-addons/tree/master/nginx_webserver_proxy"
|
||||||
arch:
|
arch:
|
||||||
- amd64
|
- amd64
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/bin/bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user