mirror of
https://github.com/hassio-addons/addon-grocy.git
synced 2025-05-04 19:21:24 +00:00
⬆️ Upgrades Grocy to v2.4.1 (#20)
* ⬆️ Upgrades Grocy to v2.4.0 * Add new config options * Hide all stock related things * Fix env var name * ⬆️ Upgrades Grocy to v2.4.1
This commit is contained in:
parent
d4aba244d1
commit
0dd3b81031
3 changed files with 8 additions and 2 deletions
|
@ -27,7 +27,7 @@ RUN \
|
|||
\
|
||||
&& yarn global add modclean \
|
||||
\
|
||||
&& git clone --branch "v2.3.0" --depth=1 \
|
||||
&& git clone --branch "v2.4.1" --depth=1 \
|
||||
https://github.com/grocy/grocy.git /var/www/grocy \
|
||||
\
|
||||
&& cd /var/www/grocy \
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
"equipment": true,
|
||||
"recipes": true,
|
||||
"shoppinglist": true,
|
||||
"stock": true,
|
||||
"tasks": true
|
||||
},
|
||||
"ssl": true,
|
||||
|
@ -43,7 +44,7 @@
|
|||
},
|
||||
"schema": {
|
||||
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
|
||||
"culture": "match(^(da|de|en|es|fr|it|nl|no|pl|ru|ta|tr)$)",
|
||||
"culture": "match(^(da|de|en|es|fr|it|nl|no|pl|ru|sv_SE|ta|tr)$)",
|
||||
"currency": "str",
|
||||
"features": {
|
||||
"batteries": "bool",
|
||||
|
@ -52,6 +53,7 @@
|
|||
"equipment": "bool",
|
||||
"recipes": "bool",
|
||||
"shoppinglist": "bool",
|
||||
"stock": "bool",
|
||||
"tasks": "bool"
|
||||
},
|
||||
"ssl": "bool",
|
||||
|
|
|
@ -32,6 +32,10 @@ if bashio::config.false 'features.shoppinglist'; then
|
|||
export GROCY_FEATURE_FLAG_SHOPPINGLIST=0
|
||||
fi
|
||||
|
||||
if bashio::config.false 'features.stock'; then
|
||||
export GROCY_FEATURE_FLAG_STOCK=0
|
||||
fi
|
||||
|
||||
if bashio::config.false 'features.tasks'; then
|
||||
export GROCY_FEATURE_FLAG_TASKS=0
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue