forked from buchin/kurs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Boxfile
50 lines (46 loc) · 1.18 KB
/
Boxfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
global:
env:
- SLIM_ENV: development
web1:
# App settings
name: slim_app
shared_writable_dirs:
- var/logs
- var/cache
# Apache settings
document_root: public
apache_log_level: warn
# PHP settings
php_version: 5.3.10
php_extensions:
- apc
- curl
- gd
- mbstring
- mcrypt
- mysql
- oauth
- pdo_mysql
- yaml
- zip
- memcached
php_error_reporting: 30719 # Same as E_ALL
php_display_errors: "1"
php_short_open_tag: "0"
php_default_mimetype: "text/html"
php_date_timezone: "US/Eastern"
php_default_locale: "en_US"
php_max_execution_time: 30
php_max_input_time: 60
php_post_max_size: "8M"
php_file_uploads: "1"
php_upload_max_filesize: "2M"
php_max_file_uploads: 20
# Install Composer dependencies
after_build:
- "curl -s http://getcomposer.org/installer | php; php composer.phar install"
- "php composer.phar update"
# Clear template cache and old logs
after_deploy:
- "rm -Rf var/cache/*"
- "rm -Rf var/logs/*"