This commit is contained in:
Alexandre
2022-01-13 21:23:04 +01:00
parent 3c19c4d175
commit 5f88380b0e
2 changed files with 5 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ FROM ${BUILD_FROM}
COPY rootfs/ / COPY rootfs/ /
# Manual apps # Manual apps
ENV PACKAGES="" ENV PACKAGES=""
# Automatic apps & bashio # Automatic apps & bashio
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \
@@ -54,7 +54,7 @@ RUN mkdir -p /tmpscripts /etc/cont-init.d && \
# 4 Entrypoint # # 4 Entrypoint #
################ ################
RUN chmod 777 /entrypoint.sh RUN chmod 777 /entrypoint.sh
#WORKDIR /data/recipes #WORKDIR /data/recipes
ENTRYPOINT [ "/usr/bin/env" ] ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ] CMD [ "/entrypoint.sh" ]

View File

@@ -1,19 +1,12 @@
{ {
"arch": [ "arch": ["aarch64", "amd64", "armv7", "armhf"],
"aarch64",
"amd64",
"armv7",
"armhf"
],
"boot": "auto", "boot": "auto",
"description": "recipe manager", "description": "recipe manager",
"environment": { "environment": {
"DB_ENGINE": "django.db.backends.sqlite3", "DB_ENGINE": "django.db.backends.sqlite3",
"POSTGRES_DB": "/config/addons_config/tandoor_recipes/recipes.db" "POSTGRES_DB": "/config/addons_config/tandoor_recipes/recipes.db"
}, },
"map": [ "map": ["config:rw"],
"config:rw"
],
"name": "Tandoor recipes", "name": "Tandoor recipes",
"options": { "options": {
"SECRET_KEY": "YOUR_SECRET_KEY", "SECRET_KEY": "YOUR_SECRET_KEY",
@@ -26,9 +19,7 @@
"ports_description": { "ports_description": {
"8080/tcp": "Web interface" "8080/tcp": "Web interface"
}, },
"services": [ "services": ["mysql:want"],
"mysql:want"
],
"schema": { "schema": {
"SECRET_KEY": "str", "SECRET_KEY": "str",
"DB_TYPE": "list(sqlite|postgresql_external|mariadb_addon)", "DB_TYPE": "list(sqlite|postgresql_external|mariadb_addon)",