this is the start of many updates, this version is a small jump because it replaces the old unmaintained docker image with the community edition --------- Co-authored-by: stevensting <stefan@klasse-methode.it> Reviewed-on: https://git.coopcloud.tech/coop-cloud/plausible/pulls/11 Co-authored-by: devydave <bittedanke@tutanota.com>
10 lines
389 B
Bash
10 lines
389 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
[ -f /run/secrets/totp_secret ] && export TOTP_VAULT_KEY="$(cat /run/secrets/totp_secret)"
|
|
[ -f /run/secrets/key_base ] && export SECRET_KEY_BASE="$(cat /run/secrets/key_base)"
|
|
[ -f /run/secrets/smtp_password ] && export SMTP_USER_PWD="$(cat /run/secrets/smtp_password)"
|
|
|
|
sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|