mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 06:27:59 +01:00
T350: Added encrypted production and stage configs, updated the cache driver, and moved the .env.example file to the resources directory.
This commit is contained in:
parent
d3a79b2a74
commit
eb3c88b1e1
11 changed files with 11 additions and 4 deletions
3
.git-crypt/.gitattributes
vendored
Normal file
3
.git-crypt/.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Do not edit this file. To specify the files to encrypt, create your own
|
||||||
|
# .gitattributes file in the directory where your files are.
|
||||||
|
* !filter !diff
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -1,3 +1,7 @@
|
||||||
* text=auto
|
* text=auto
|
||||||
|
|
||||||
|
resources/environments/.env.stage filter=git-crypt diff=git-crypt
|
||||||
|
resources/environments/.env.production filter=git-crypt diff=git-crypt
|
||||||
|
|
||||||
*.css linguist-vendored
|
*.css linguist-vendored
|
||||||
*.less linguist-vendored
|
*.less linguist-vendored
|
||||||
|
|
|
@ -13,7 +13,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'default' => env('CACHE_DRIVER', 'file'),
|
'default' => env('CACHE_DRIVER', 'database'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
APP_ENV=local
|
APP_ENV=local
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
|
APP_URL=http://pony.fm.local/
|
||||||
APP_KEY=SomeRandomString
|
APP_KEY=SomeRandomString
|
||||||
|
|
||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
|
@ -7,7 +8,6 @@ DB_DATABASE=homestead
|
||||||
DB_USERNAME=homestead
|
DB_USERNAME=homestead
|
||||||
DB_PASSWORD=secret
|
DB_PASSWORD=secret
|
||||||
|
|
||||||
CACHE_DRIVER=file
|
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
QUEUE_DRIVER=sync
|
QUEUE_DRIVER=sync
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
APP_ENV=local
|
APP_ENV=local
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
|
APP_URL=http://pony.fm.local/
|
||||||
APP_KEY=AQUSDTDK5xA04yb9eO9iwlm72NpC8e90
|
APP_KEY=AQUSDTDK5xA04yb9eO9iwlm72NpC8e90
|
||||||
|
|
||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
|
@ -7,7 +8,6 @@ DB_DATABASE=homestead
|
||||||
DB_USERNAME=homestead
|
DB_USERNAME=homestead
|
||||||
DB_PASSWORD=secret
|
DB_PASSWORD=secret
|
||||||
|
|
||||||
CACHE_DRIVER=file
|
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
QUEUE_DRIVER=sync
|
QUEUE_DRIVER=sync
|
||||||
|
|
BIN
resources/environments/.env.production
Normal file
BIN
resources/environments/.env.production
Normal file
Binary file not shown.
BIN
resources/environments/.env.stage
Normal file
BIN
resources/environments/.env.stage
Normal file
Binary file not shown.
|
@ -31,7 +31,7 @@ cd /vagrant
|
||||||
/usr/local/bin/composer self-update
|
/usr/local/bin/composer self-update
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
cp "/vagrant/vagrant/.env.local" "/vagrant/.env"
|
cp "/vagrant/resources/environments/.env.local" "/vagrant/.env"
|
||||||
|
|
||||||
php artisan migrate
|
php artisan migrate
|
||||||
php artisan db:seed
|
php artisan db:seed
|
||||||
|
|
Loading…
Reference in a new issue