Correct ssl

This commit is contained in:
Alexandre
2022-12-28 21:56:09 +01:00
parent e2d14196e0
commit 4de9a54ae6
4 changed files with 10 additions and 4 deletions

View File

@@ -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
# 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
# hadolint ignore=SC2015

View File

@@ -54,7 +54,8 @@
"config:rw",
"share:rw",
"media:rw",
"config:rw"
"config:rw",
"ssl"
],
"name": "Paperless NGX",
"options": {
@@ -94,6 +95,6 @@
},
"slug": "paperless_ng",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "1.10.2-4",
"version": "1.10.2-5",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8001]"
}

View File

@@ -1,4 +1,4 @@
#!/command/with-contenv bashio
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
if bashio::config.true 'ssl'; then

View File

@@ -26,6 +26,11 @@ export PAPERLESS_ALLOWED_HOSTS="*"
#################
exec redis-server & bashio::log.info "Starting redis"
#################
# Staring nginx #
#################
exec nginx & bashio::log.info "Starting nginx"
###############
# Staring app #
###############