mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-14 19:38:04 +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
|
||||
|
||||
# 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
|
||||
|
||||
@@ -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]"
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/command/with-contenv bashio
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
if bashio::config.true 'ssl'; then
|
||||
|
||||
@@ -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 #
|
||||
###############
|
||||
|
||||
Reference in New Issue
Block a user