mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 06:41:51 +02:00
Correct ssl
This commit is contained in:
@@ -57,7 +57,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
&& chmod -R 755 /etc/cont-init.d
|
&& chmod -R 755 /etc/cont-init.d
|
||||||
|
|
||||||
# Manual apps
|
# Manual apps
|
||||||
ENV PACKAGES="redis-server yamllint pip libxml2-dev libxslt-dev python-dev libjpeg-dev zlib1g-dev python3-dev build-essential"
|
ENV PACKAGES="redis-server yamllint pip libxml2-dev libxslt-dev python-dev libjpeg-dev zlib1g-dev python3-dev build-essential nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
# hadolint ignore=SC2015
|
# hadolint ignore=SC2015
|
||||||
|
|||||||
@@ -54,7 +54,8 @@
|
|||||||
"config:rw",
|
"config:rw",
|
||||||
"share:rw",
|
"share:rw",
|
||||||
"media:rw",
|
"media:rw",
|
||||||
"config:rw"
|
"config:rw",
|
||||||
|
"ssl"
|
||||||
],
|
],
|
||||||
"name": "Paperless NGX",
|
"name": "Paperless NGX",
|
||||||
"options": {
|
"options": {
|
||||||
@@ -94,6 +95,6 @@
|
|||||||
},
|
},
|
||||||
"slug": "paperless_ng",
|
"slug": "paperless_ng",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "1.10.2-4",
|
"version": "1.10.2-5",
|
||||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:8001]"
|
"webui": "[PROTO:ssl]://[HOST]:[PORT:8001]"
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
if bashio::config.true 'ssl'; then
|
if bashio::config.true 'ssl'; then
|
||||||
|
|||||||
@@ -26,6 +26,11 @@ export PAPERLESS_ALLOWED_HOSTS="*"
|
|||||||
#################
|
#################
|
||||||
exec redis-server & bashio::log.info "Starting redis"
|
exec redis-server & bashio::log.info "Starting redis"
|
||||||
|
|
||||||
|
#################
|
||||||
|
# Staring nginx #
|
||||||
|
#################
|
||||||
|
exec nginx & bashio::log.info "Starting nginx"
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Staring app #
|
# Staring app #
|
||||||
###############
|
###############
|
||||||
|
|||||||
Reference in New Issue
Block a user