Drop app_local.php from production and show the mail transport in polls remind
app_local.php takes precedence over config/.env, so a copy made from an older template forced the file transport and reminders never left the server. Release package and Docker image now ship without it; app.php reads the database from DATABASE_URL (SQLite default). app_local.example.php keeps development defaults only. polls remind prints the transport and warns when SMTP_HOST is set but SMTP is not used. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f21aead039
commit
7fa33bbbdd
10 files changed
+65
-50
No files matched your search
@@ -85,9 +85,9 @@ jobs:
|
||||
index.php .htaccess composer.json composer.lock | tar -x -C build
|
||||
cd "build/$NAME"
|
||||
rm -f bin/cake.bat bin/bash_completion.sh
|
||||
# --no-scripts: the installer must not bake a random salt into app_local.php (SECURITY_SALT comes from config/.env)
|
||||
# --no-scripts: no app_local.php in the package; everything comes from config/.env (see app_local.example.php)
|
||||
composer install --no-dev --no-scripts --no-interaction --no-progress --prefer-dist --optimize-autoloader
|
||||
cp config/app_local.example.php config/app_local.php
|
||||
rm -f config/app_local.example.php
|
||||
mkdir -p tmp/cache/models tmp/cache/persistent tmp/cache/views tmp/sessions logs data
|
||||
printf '%s\n' "$VERSION" > VERSION
|
||||
cd ../..
|
||||
|
||||
Reference in new issue
Block a user