This commit is contained in:
alexbelgium
2025-06-01 12:19:14 +02:00
parent 59019fd372
commit c27098e336
2 changed files with 3 additions and 4 deletions

View File

@@ -37,6 +37,7 @@ ENV OPENPROJECT_SECRET_KEY_BASE=addon_secret \
USER root
# shellcheck disable=SC2154
RUN sed -i "s|/bin/bash|/bin/bashio|g" /app/docker/prod/entrypoint.sh && \
sed -i "1a /./ha_entrypoint.sh" /app/docker/prod/entrypoint.sh && \
sed -i "2a\for variable in OPENPROJECT_SECRET_KEY_BASE OPENPROJECT_HOST__NAME OPENPROJECT_HTTPS OPENPROJECT_DEFAULT__LANGUAGE; do if bashio::config.has_value \$variable; then export \$variable=\"\$(bashio::config $variable)\"; fi; done" /app/docker/prod/entrypoint.sh