Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Update Boxfile to V2 format
Browse files Browse the repository at this point in the history
Signed-off-by: Max Fierke <[email protected]>
  • Loading branch information
maxfierke committed Feb 15, 2015
1 parent 52fec9a commit cb3c315
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Boxfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

web1:
shared_writable_dirs:
network_dirs:
- app/cache
- app/logs

document_root: web
default_gateway: app.php
index_list: [app.php]
httpd_document_root: web
httpd_index_list: [app.php]

php_version: 5.5
version: 5.5
stability: production
php_extensions:
- intl
- mbstring
Expand All @@ -23,7 +23,7 @@ web1:
php_session_autostart: "0"
php_date_timezone: America/Chicago

after_build:
after_exec:
- "rm -rf vendor/"
- "cp app/config/parameters.yml.pagoda app/config/parameters.yml"
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n --prefer-source --optimize-autoloader --no-progress"
Expand All @@ -33,7 +33,7 @@ web1:
- "php app/console --env=prod --no-debug cache:clear --no-warmup -v"
- "php app/console --env=prod --no-debug cache:warmup -v"

db1:
database1:
name: openskedge
type: mysql

Expand All @@ -43,11 +43,12 @@ cache1:
worker1:
type: php
exec: "php app/console --env=prod --no-debug -n openskedge:worker:run"
shared_writable_dirs:
network_dirs:
- app/cache
- app/logs

php_version: 5.5
version: 5.5
stability: production
php_extensions:
- intl
- mbstring
Expand All @@ -62,7 +63,7 @@ worker1:
php_session_autostart: "0"
php_date_timezone: America/Chicago

after_build:
after_exec:
- "rm -rf vendor/"
- "cp app/config/parameters.yml.pagoda app/config/parameters.yml"
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n --prefer-source --optimize-autoloader --no-progress"
Expand Down

0 comments on commit cb3c315

Please sign in to comment.