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/ /
# Manual apps
ENV PACKAGES=""
ENV PACKAGES=""
# 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 && \
@@ -54,7 +54,7 @@ RUN mkdir -p /tmpscripts /etc/cont-init.d && \
# 4 Entrypoint #
################
RUN chmod 777 /entrypoint.sh
RUN chmod 777 /entrypoint.sh
#WORKDIR /data/recipes
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ]

View File

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