diff --git a/Procfile b/Procfile index 0b03eba0..0e26515a 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx public +web: vendor/bin/heroku-php-apache2 public diff --git a/app.json b/app.json index 561789ab..7efd6e47 100644 --- a/app.json +++ b/app.json @@ -12,11 +12,11 @@ "success_url": "/setup", "repository": "https://github.com/cachethq/Cachet", "addons": [ - "cleardb" + "heroku-postgresql" ], "env": { - "ENV": "heroku", - "BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-php" + "ENV": { "value": "heroku", "description": "Do not modify this value to work on Heroku" }, + "BUILDPACK_URL": { "value": "https://github.com/heroku/heroku-buildpack-php", "description": "Do not modify this value to work on Heroku" } }, "scripts": { "postdeploy": "php artisan migrate --env=heroku; php artisan key:generate" diff --git a/app/config/heroku/database.php b/app/config/heroku/database.php deleted file mode 100644 index 5d2a26e7..00000000 --- a/app/config/heroku/database.php +++ /dev/null @@ -1,20 +0,0 @@ - 'cleardb', - 'connections' => [ - 'cleardb' => [ - 'driver' => 'mysql', - 'host' => $dbURL['host'], - 'database' => $dbName, - 'username' => $dbURL['user'], - 'password' => $dbURL['pass'], - 'charset' => 'utf8', - 'collation' => 'utf8_unicode_ci', - 'prefix' => '', - ], - ], -];