Uses official entrypoint

This commit is contained in:
Alexandre
2022-09-18 13:54:54 +02:00
committed by GitHub
parent 1f18cb1bfa
commit 1ce8971e09

View File

@@ -13,4 +13,19 @@ echo "base url $BASE_URL"
# sed "s/^DOMAIN.*/DOMAIN = $SERVER_DOMAIN/" /data/gitea/conf/app.ini
# sed "s/^ROOT_URL.*/ROOT_URL = $BASE_URL/" /data/gitea/conf/app.ini
exec "$@"
##############
# SSL CONFIG #
##############
bashio::config.require.ssl
if bashio::config.true 'ssl'; then
bashio::log.info "Ssl is enabled"
fi
##############
# LAUNCH APP #
##############
bashio::log.info "Please wait while the app is loading !"
/./usr/bin/entrypoint