Return to sh mode of checking
This commit is contained in:
parent
c9c7fb0019
commit
c828be2c68
@ -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:
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user