Return to sh mode of checking
This commit is contained in:
parent
c9c7fb0019
commit
c828be2c68
@ -108,8 +108,7 @@ configs:
|
|||||||
template_driver: golang
|
template_driver: golang
|
||||||
app_entrypoint:
|
app_entrypoint:
|
||||||
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
|
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
|
||||||
file: entrypoint.sh.tmpl
|
file: entrypoint.sh
|
||||||
template_driver: golang
|
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
db_password:
|
db_password:
|
||||||
|
@ -8,10 +8,10 @@ set -e
|
|||||||
export PEERTUBE_DB_PASSWORD=$(cat "$PEERTUBE_DB_PASSWORD_FILE")
|
export PEERTUBE_DB_PASSWORD=$(cat "$PEERTUBE_DB_PASSWORD_FILE")
|
||||||
unset 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")
|
export PEERTUBE_SMTP_PASSWORD=$(cat "$PEERTUBE_SMTP_PASSWORD_FILE")
|
||||||
unset PEERTUBE_SMTP_PASSWORD_FILE
|
unset PEERTUBE_SMTP_PASSWORD_FILE
|
||||||
{{ end }}
|
fi
|
||||||
|
|
||||||
# upstream entrypoint
|
# upstream entrypoint
|
||||||
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh
|
# https://github.com/Chocobozzz/PeerTube/blob/66f77f63437c6774acbd72584a9839a7636ea167/support/docker/production/entrypoint.sh
|
Loading…
Reference in New Issue
Block a user