mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Restore original configuration for addons_updater and templates
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
||||
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"armv7"
|
||||
],
|
||||
"codenotary": "alexandrep.github@gmail.com",
|
||||
"description": "An open source command line RatioMaster with WebUI",
|
||||
"hassio_api": true,
|
||||
"image": "ghcr.io/alexbelgium/joal-{arch}",
|
||||
"ingress": true,
|
||||
"map": [
|
||||
"config:rw"
|
||||
],
|
||||
"name": "Joal",
|
||||
"options": {
|
||||
"run_duration": "12h",
|
||||
"secret_token": "lrMY24Byhx",
|
||||
"ui_path": "joal"
|
||||
},
|
||||
"panel_admin": false,
|
||||
"panel_icon": "mdi:owl",
|
||||
"ports": {
|
||||
"49152/tcp": null,
|
||||
"8081/tcp": 8091
|
||||
},
|
||||
"ports_description": {
|
||||
"49152/tcp": "torrent port (not required)",
|
||||
"8081/tcp": "Web UI port (required)"
|
||||
},
|
||||
"schema": {
|
||||
"run_duration": "str?",
|
||||
"secret_token": "str",
|
||||
"ui_path": "str",
|
||||
"verbose": "bool?"
|
||||
},
|
||||
"slug": "joal",
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "2.1.36-3"
|
||||
}
|
||||
33
joal/config.yaml
Normal file
33
joal/config.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
- armv7
|
||||
codenotary: alexandrep.github@gmail.com
|
||||
description: An open source command line RatioMaster with WebUI
|
||||
hassio_api: true
|
||||
image: ghcr.io/alexbelgium/joal-{arch}
|
||||
ingress: true
|
||||
map:
|
||||
- config:rw
|
||||
name: Joal
|
||||
options:
|
||||
run_duration: 12h
|
||||
secret_token: lrMY24Byhx
|
||||
ui_path: joal
|
||||
panel_admin: false
|
||||
panel_icon: mdi:owl
|
||||
ports:
|
||||
49152/tcp: null
|
||||
8081/tcp: 8091
|
||||
ports_description:
|
||||
49152/tcp: torrent port (not required)
|
||||
8081/tcp: Web UI port (required)
|
||||
schema:
|
||||
run_duration: str?
|
||||
secret_token: str
|
||||
ui_path: str
|
||||
verbose: bool?
|
||||
slug: joal
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 2.1.36-3
|
||||
@@ -34,14 +34,14 @@ bashio::log.info "Joal updated"
|
||||
##################
|
||||
|
||||
# If config doesn't exist, create it
|
||||
if [ ! -f /config/addons_config/joal/config.json ]; then
|
||||
if [ ! -f /config/addons_config/joal/config.yaml ]; then
|
||||
bashio::log.info "Symlinking config files"
|
||||
mkdir -p /config/addons_config/joal
|
||||
cp /data/joal/config.json /config/addons_config/joal/config.json
|
||||
cp /data/joal/config.yaml /config/addons_config/joal/config.yaml
|
||||
fi
|
||||
|
||||
# Refresh symlink
|
||||
ln -sf /config/addons_config/joal/config.json /data/joal/config.json
|
||||
ln -sf /config/addons_config/joal/config.yaml /data/joal/config.yaml
|
||||
|
||||
###############
|
||||
# SET VARIABLES #
|
||||
|
||||
Reference in New Issue
Block a user