Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
refactor to allow custom SSL certs
Browse files Browse the repository at this point in the history
  • Loading branch information
aegjoyce committed Apr 19, 2023
1 parent 753f49f commit 53f05c1
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 8 deletions.
12 changes: 11 additions & 1 deletion scrypted-beta/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@ Environment variables may be set using the add-on configuration screen and are l
value: "hassioingress"
```

If set, `SCRYPTED_ADMIN_TOKEN` can be used by `ingress.conf` to automatically authenticate all requests that originate from Home Assistant.
The following environment variables can be set:
* `SCRYPTED_DISABLE_AUTHENTICATION`
* Disables auth. Not recommended! Can be `true` or `false`
* `SCRYPTED_ADMIN_USERNAME` and `SCRYPTED_ADMIN_TOKEN`
* Sets login credentials that Home Assistant and Ingress use to log you in automatically so you don't have to go through the login screen each time
* `SCRYPTED_SECURE_PORT`
* Sets the https port for accessing Scrypted outside of Ingress (default `10443`)
* `SCRYPTED_INSECURE_PORT`
* Sets the http port for accessing Scrypted outside of Ingress (default `11080`)
* `SCRYPTED_HTTPS_OPTIONS_FILE`
* Allows loading of a custom SSL certificate - follow the instructions [here](https://github.com/koush/scrypted/wiki/Custom-SSL-Certificate), put your JSON config file somewhere in the `config` folder and then set this variable to `/config/<yourJSONfile>`
3 changes: 2 additions & 1 deletion scrypted-beta/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Scrypted Beta
version: "v0.7.81"
version: "v0.7.81-1"
slug: scrypted-beta
description: A testing ground for updates to the Scrypted add-on. Install at own risk
url: "https://github.com/koush/scrypted"
Expand All @@ -23,6 +23,7 @@ environment:
backup_exclude:
- /server
map:
- config
- media:rw
options:
env_vars: []
Expand Down
12 changes: 11 additions & 1 deletion scrypted-lite/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@ Environment variables may be set using the add-on configuration screen and are l
value: "hassioingress"
```

If set, `SCRYPTED_ADMIN_TOKEN` can be used by `ingress.conf` to automatically authenticate all requests that originate from Home Assistant.
The following environment variables can be set:
* `SCRYPTED_DISABLE_AUTHENTICATION`
* Disables auth. Not recommended! Can be `true` or `false`
* `SCRYPTED_ADMIN_USERNAME` and `SCRYPTED_ADMIN_TOKEN`
* Sets login credentials that Home Assistant and Ingress use to log you in automatically so you don't have to go through the login screen each time
* `SCRYPTED_SECURE_PORT`
* Sets the https port for accessing Scrypted outside of Ingress (default `10443`)
* `SCRYPTED_INSECURE_PORT`
* Sets the http port for accessing Scrypted outside of Ingress (default `11080`)
* `SCRYPTED_HTTPS_OPTIONS_FILE`
* Allows loading of a custom SSL certificate - follow the instructions [here](https://github.com/koush/scrypted/wiki/Custom-SSL-Certificate), put your JSON config file somewhere in the `config` folder and then set this variable to `/config/<yourJSONfile>`
3 changes: 2 additions & 1 deletion scrypted-lite/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Scrypted Lite
version: "v0.7.81"
version: "v0.7.81-1"
slug: scrypted-lite
description: Lite version of Scrypted with smaller image size and some dependencies removed
url: "https://github.com/koush/scrypted"
Expand All @@ -23,6 +23,7 @@ environment:
backup_exclude:
- /server
map:
- config
- media:rw
options:
env_vars: []
Expand Down
12 changes: 11 additions & 1 deletion scrypted-thin/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@ Environment variables may be set using the add-on configuration screen and are l
value: "hassioingress"
```

If set, `SCRYPTED_ADMIN_TOKEN` can be used by `ingress.conf` to automatically authenticate all requests that originate from Home Assistant.
The following environment variables can be set:
* `SCRYPTED_DISABLE_AUTHENTICATION`
* Disables auth. Not recommended! Can be `true` or `false`
* `SCRYPTED_ADMIN_USERNAME` and `SCRYPTED_ADMIN_TOKEN`
* Sets login credentials that Home Assistant and Ingress use to log you in automatically so you don't have to go through the login screen each time
* `SCRYPTED_SECURE_PORT`
* Sets the https port for accessing Scrypted outside of Ingress (default `10443`)
* `SCRYPTED_INSECURE_PORT`
* Sets the http port for accessing Scrypted outside of Ingress (default `11080`)
* `SCRYPTED_HTTPS_OPTIONS_FILE`
* Allows loading of a custom SSL certificate - follow the instructions [here](https://github.com/koush/scrypted/wiki/Custom-SSL-Certificate), put your JSON config file somewhere in the `config` folder and then set this variable to `/config/<yourJSONfile>`
3 changes: 2 additions & 1 deletion scrypted-thin/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Scrypted Thin
version: "v0.7.81"
version: "v0.7.81-1"
slug: scrypted-thin
description: Thin version of Scrypted with smaller image size and some dependencies removed
url: "https://github.com/koush/scrypted"
Expand All @@ -23,6 +23,7 @@ environment:
backup_exclude:
- /server
map:
- config
- media:rw
options:
env_vars: []
Expand Down
12 changes: 11 additions & 1 deletion scrypted/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@ Environment variables may be set using the add-on configuration screen and are l
value: "hassioingress"
```

If set, `SCRYPTED_ADMIN_TOKEN` can be used by `ingress.conf` to automatically authenticate all requests that originate from Home Assistant.
The following environment variables can be set:
* `SCRYPTED_DISABLE_AUTHENTICATION`
* Disables auth. Not recommended! Can be `true` or `false`
* `SCRYPTED_ADMIN_USERNAME` and `SCRYPTED_ADMIN_TOKEN`
* Sets login credentials that Home Assistant and Ingress use to log you in automatically so you don't have to go through the login screen each time
* `SCRYPTED_SECURE_PORT`
* Sets the https port for accessing Scrypted outside of Ingress (default `10443`)
* `SCRYPTED_INSECURE_PORT`
* Sets the http port for accessing Scrypted outside of Ingress (default `11080`)
* `SCRYPTED_HTTPS_OPTIONS_FILE`
* Allows loading of a custom SSL certificate - follow the instructions [here](https://github.com/koush/scrypted/wiki/Custom-SSL-Certificate), put your JSON config file somewhere in the `config` folder and then set this variable to `/config/<yourJSONfile>`
3 changes: 2 additions & 1 deletion scrypted/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Scrypted
version: "v0.7.81"
version: "v0.7.81-1"
slug: scrypted
description: A home automation platform powered by node.js
url: "https://github.com/koush/scrypted"
Expand All @@ -23,6 +23,7 @@ environment:
backup_exclude:
- /server
map:
- config
- media:rw
options:
env_vars: []
Expand Down

0 comments on commit 53f05c1

Please sign in to comment.