web-site/run.sh

6 lines
246 B
Bash

export EMAIL=$(cat /run/secrets/email)
export DBPASSWORD=$(cat /run/secrets/db-password)
envsubst < /var/lib/ghost/config.production.template > /var/lib/ghost/config.production.json
cat /var/lib/ghost/config.production.json
node current/index.js