Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate JSON config to YAML #246

Merged
merged 1 commit into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions grocy/build.json

This file was deleted.

7 changes: 7 additions & 0 deletions grocy/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.0
amd64: ghcr.io/hassio-addons/base/amd64:10.1.0
armhf: ghcr.io/hassio-addons/base/armhf:10.1.0
armv7: ghcr.io/hassio-addons/base/armv7:10.1.0
i386: ghcr.io/hassio-addons/base/i386:10.1.0
77 changes: 0 additions & 77 deletions grocy/config.json

This file was deleted.

74 changes: 74 additions & 0 deletions grocy/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
name: Grocy
version: dev
slug: grocy
description: ERP beyond your fridge! A groceries & household management solution for your home
url: https://github.com/hassio-addons/addon-grocy
ingress: true
ingress_stream: true
panel_icon: mdi:cart
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
map:
- ssl
ports:
80/tcp: null
ports_description:
80/tcp: Web interface (Not required for Ingress)
options:
culture: en
currency: USD
entry_page: stock
features:
batteries: true
calendar: true
chores: true
equipment: true
recipes: true
shoppinglist: true
stock: true
tasks: true
tweaks:
chores_assignment: true
multiple_shopping_lists: true
stock_best_before_date_tracking: true
stock_location_tracking: true
stock_price_tracking: true
stock_product_freezing: true
stock_product_opened_tracking: true
stock_count_opened_products_against_minimum_stock_amount: true
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)?
culture: list(cs|da|de|el_GR|en|en_GB|es|fi|fr|he_IL|hu|it|ja|ko_KR|nl|no|pl|pt_BR|pt_PT|ru|sk_SK|sv_SE|ta|tr|zh_CN|zh_TW)
currency: match(^[A-Z]{3}$)
entry_page: list(stock|shoppinglist|recipes|chores|tasks|batteries|equipment|calendar|mealplan)
features:
batteries: bool
calendar: bool
chores: bool
equipment: bool
recipes: bool
shoppinglist: bool
stock: bool
tasks: bool
tweaks:
calendar_first_day_of_week: int(0,6)?
chores_assignment: bool
meal_plan_first_day_of_week: int(0,6)?
multiple_shopping_lists: bool
stock_best_before_date_tracking: bool
stock_location_tracking: bool
stock_price_tracking: bool
stock_product_freezing: bool
stock_product_opened_tracking: bool
stock_count_opened_products_against_minimum_stock_amount: bool
ssl: bool
certfile: str
keyfile: str