File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
docker/deploy/etc/s6-overlay/scripts Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 3939
4040# Check for app key
4141if [ ! ${APP_KEY} ]; then
42- if grep -E "APP_KEY=[0-9A-Za-z:+\/=]{1,}" $WEBUSER_HOME/.env > /dev/null; then
43- echo "✅ An application key exists."
44- else
45- echo "⏳ Generating an application key..."
46- export APP_KEY=$(s6-setuidgid webuser php $WEBUSER_HOME/artisan key:generate --show)
47- echo "⚠️ An application key was generated at start up, no environment variable was set."
48- echo "👀 To set an application key that persists, read the docs: https://docs.speedtest-tracker.dev/"
49- fi
50- else
51- echo "✅ An application key environment variable exists."
42+ echo "⚠️ An application key is missing!"
43+ echo "👀 To set an application key, read the docs: https://docs.speedtest-tracker.dev/"
5244fi
5345
5446echo ""
You can’t perform that action at this time.
0 commit comments