-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Evergine v2021.11.17.2-preview
- Loading branch information
Showing
425 changed files
with
890 additions
and
18,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rules "~MD024" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
rules: | ||
braces: | ||
level: error | ||
min-spaces-inside: 0 | ||
max-spaces-inside: 1 | ||
min-spaces-inside-empty: -1 | ||
max-spaces-inside-empty: -1 | ||
brackets: | ||
level: error | ||
min-spaces-inside: 0 | ||
max-spaces-inside: 0 | ||
min-spaces-inside-empty: -1 | ||
max-spaces-inside-empty: -1 | ||
colons: | ||
level: error | ||
max-spaces-before: 0 | ||
max-spaces-after: 1 | ||
commas: | ||
level: error | ||
max-spaces-before: 0 | ||
min-spaces-after: 1 | ||
max-spaces-after: 1 | ||
comments: | ||
level: error | ||
require-starting-space: true | ||
min-spaces-from-content: 2 | ||
comments-indentation: | ||
level: error | ||
document-end: | ||
level: error | ||
present: false | ||
document-start: | ||
level: error | ||
present: true | ||
empty-lines: | ||
level: error | ||
max: 1 | ||
max-start: 0 | ||
max-end: 1 | ||
hyphens: | ||
level: error | ||
max-spaces-after: 1 | ||
indentation: | ||
level: error | ||
spaces: 2 | ||
indent-sequences: true | ||
check-multi-line-strings: false | ||
key-duplicates: | ||
level: error | ||
line-length: | ||
ignore: | | ||
.github/support.yml | ||
level: warning | ||
max: 120 | ||
allow-non-breakable-words: true | ||
allow-non-breakable-inline-mappings: true | ||
new-line-at-end-of-file: | ||
level: error | ||
new-lines: | ||
level: error | ||
type: unix | ||
trailing-spaces: | ||
level: error | ||
truthy: | ||
level: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.2.3 | ||
# hadolint ignore=DL3006 | ||
FROM ${BUILD_FROM} | ||
|
||
# Set shell | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
# Setup base | ||
# hadolint ignore=DL3003 | ||
RUN \ | ||
apk add --no-cache \ | ||
nginx=1.20.2-r0 | ||
|
||
# Copy root filesystem | ||
COPY rootfs / | ||
|
||
# Build arguments | ||
ARG BUILD_ARCH | ||
ARG BUILD_DATE | ||
ARG BUILD_DESCRIPTION | ||
ARG BUILD_NAME | ||
ARG BUILD_REF | ||
ARG BUILD_REPOSITORY | ||
ARG BUILD_VERSION | ||
|
||
# Labels | ||
LABEL \ | ||
io.hass.name="${BUILD_NAME}" \ | ||
io.hass.description="${BUILD_DESCRIPTION}" \ | ||
io.hass.arch="${BUILD_ARCH}" \ | ||
io.hass.type="addon" \ | ||
io.hass.version=${BUILD_VERSION} \ | ||
maintainer="Victor Ferrer <[email protected]>" \ | ||
org.opencontainers.image.title="${BUILD_NAME}" \ | ||
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \ | ||
org.opencontainers.image.vendor="Home Assistant Community Add-ons" \ | ||
org.opencontainers.image.authors="Victor Ferrer <[email protected]>" \ | ||
org.opencontainers.image.licenses="MIT" \ | ||
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \ | ||
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \ | ||
org.opencontainers.image.created=${BUILD_DATE} \ | ||
org.opencontainers.image.revision=${BUILD_REF} \ | ||
org.opencontainers.image.version=${BUILD_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
build_from: | ||
aarch64: ghcr.io/hassio-addons/base/aarch64:10.2.3 | ||
amd64: ghcr.io/hassio-addons/base/amd64:10.2.3 | ||
armhf: ghcr.io/hassio-addons/base/armhf:10.2.3 | ||
armv7: ghcr.io/hassio-addons/base/armv7:10.2.3 | ||
i386: ghcr.io/hassio-addons/base/i386:10.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Evergine Sample | ||
version: dev | ||
slug: evergine_sample | ||
description: Sample add-on that add-on that hosts a WASM WebGL wiewer made with Evergine | ||
url: https://github.com/vicfergar/addon-evergine_sample | ||
ingress: true | ||
ingress_stream: true | ||
panel_icon: mdi:floor-plan | ||
init: false | ||
homeassistant: 0.92.0b2 | ||
arch: | ||
- aarch64 | ||
- amd64 | ||
- armhf | ||
- armv7 | ||
- i386 | ||
ports: | ||
80/tcp: null | ||
ports_description: | ||
80/tcp: Web interface (Not required for Ingress) | ||
hassio_api: true | ||
hassio_role: homeassistant | ||
homeassistant_api: true | ||
auth_api: true | ||
map: | ||
- ssl | ||
options: | ||
ssl: true | ||
certfile: fullchain.pem | ||
keyfile: privkey.pem | ||
schema: | ||
log_level: list(trace|debug|info|notice|warning|error|fatal)? | ||
ssl: bool | ||
certfile: str | ||
keyfile: str |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/with-contenv bashio | ||
# ============================================================================== | ||
# Home Assistant Community Add-on: Evergine Sample | ||
# Configures NGINX | ||
# ============================================================================== | ||
|
||
# Generate Ingress configuration | ||
bashio::var.json \ | ||
interface "$(bashio::addon.ip_address)" \ | ||
port "$(bashio::addon.ingress_port)" \ | ||
| tempio \ | ||
-template /etc/nginx/templates/ingress.gtpl \ | ||
-out /etc/nginx/servers/ingress.conf | ||
|
||
# Generate direct access configuration, if enabled. | ||
if bashio::var.has_value "$(bashio::addon.port 80)"; then | ||
bashio::config.require.ssl | ||
bashio::var.json \ | ||
certfile "$(bashio::config 'certfile')" \ | ||
keyfile "$(bashio::config 'keyfile')" \ | ||
port "^$(bashio::addon.port 80)" \ | ||
ssl "^$(bashio::config 'ssl')" \ | ||
| tempio \ | ||
-template /etc/nginx/templates/direct.gtpl \ | ||
-out /etc/nginx/servers/direct.conf | ||
fi |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ssl_protocols TLSv1.2 TLSv1.3; | ||
ssl_prefer_server_ciphers off; | ||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; | ||
ssl_session_timeout 10m; | ||
ssl_session_cache shared:SSL:10m; | ||
ssl_session_tickets off; | ||
ssl_stapling on; | ||
ssl_stapling_verify on; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...sample/rootfs/etc/nginx/servers/wave.conf → ...fs/etc/nginx/servers/evergine_sample.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
types { | ||
application/wasm wasm; | ||
} | ||
|
||
server { | ||
server_name hassio.local; | ||
listen 7080 default_server; | ||
|
Oops, something went wrong.