Heroku related changes.

This commit is contained in:
James Cole 2017-11-27 19:07:57 +01:00
parent b0b904c32e
commit 18a5bb682d
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 62 additions and 2 deletions

60
.env.heroku Normal file
View File

@ -0,0 +1,60 @@
APP_ENV=local
APP_DEBUG=false
APP_NAME=FireflyIII
APP_KEY=7ahyYVPVsmxjdhsweWCauGeJfwc92NP2
APP_LOG=errorlog
APP_LOG_LEVEL=info
APP_URL=http://localhost
TRUSTED_PROXIES=
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
COOKIE_PATH="/"
COOKIE_DOMAIN=
COOKIE_SECURE=false
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_FROM=changeme@example.com
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
SEND_REGISTRATION_MAIL=true
SEND_ERROR_MESSAGE=true
SHOW_INCOMPLETE_TRANSLATIONS=false
CACHE_PREFIX=firefly
SEARCH_RESULT_LIMIT=50
EXCHANGE_RATE_SERVICE=fixerio
MAPBOX_API_KEY=
ANALYTICS_ID=
SITE_OWNER=heroku@example.com
USE_ENCRYPTION=true
PUSHER_KEY=
PUSHER_SECRET=
PUSHER_ID=
DEMO_USERNAME=
DEMO_PASSWORD=
IS_DOCKER=false
IS_SANDSTORM=false

View File

@ -120,7 +120,7 @@
"php artisan firefly:instructions install"
],
"compile": [
"@php artisan key:generate --force"
"@php -r \"file_exists('.env.heroku') || copy('.env.heroku', '.env');\""
]
},
"config": {

View File

@ -30,7 +30,7 @@ return [
'timezone' => 'UTC',
'locale' => 'en_US',
'fallback_locale' => 'en_US',
'key' => env('APP_KEY','7ahyYVPVsmxjdhsweWCauGeJfwc92NP2'),
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
'log' => env('APP_LOG', 'errorlog'),
'log_level' => env('APP_LOG_LEVEL', 'info'),