Return to sh mode of checking

This commit is contained in:
decentral1se
2021-05-06 15:17:24 +02:00
parent c9c7fb0019
commit c828be2c68
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -108,8 +108,7 @@ configs:
template_driver: golang
app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang
file: entrypoint.sh
secrets:
db_password:
+2 -2
View File
@@ -8,10 +8,10 @@ set -e
export PEERTUBE_DB_PASSWORD=$(cat "$PEERTUBE_DB_PASSWORD_FILE")
unset PEERTUBE_DB_PASSWORD_FILE
{{ if eq (env "PEERTUBE_SMTP_ENABLED") "1" }}
if [ -z "$PEERTUBE_SMTP_ENABLED" ]; then
export PEERTUBE_SMTP_PASSWORD=$(cat "$PEERTUBE_SMTP_PASSWORD_FILE")
unset PEERTUBE_SMTP_PASSWORD_FILE
{{ end }}
fi
# upstream entrypoint
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh