-
Notifications
You must be signed in to change notification settings - Fork 296
/
Boxfile
39 lines (38 loc) · 931 Bytes
/
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
web1:
document_root: public
php_version: 5.4.14
php_upload_max_filesize: "10M"
php_post_max_size: "10M"
php_extensions:
- mbstring
- mcrypt
- curl
- gd
- pdo_mysql
- redis
- zip
- xcache
php_session_save_handler: redis
php_session_save_path: "tcp://tunnel.pagodabox.com:6379"
shared_writable_dirs:
- app/storage/cache
- app/storage/logs
- app/storage/meta
- app/storage/sessions
- app/storage/views
- public/img/screenshots
- public/img/avatars
- public/img/avatar
- public/img/screenshots/temp
after_build:
- "if [ ! -f composer.phar ]; then curl -s http://getcomposer.org/installer | php; fi; php composer.phar install --prefer-source"
after_deploy:
- "rm -f app/storage/cache/*"
- "php artisan cache:clear"
- "rm -f app/storage/views/*"
before_deploy:
- "php artisan migrate"
cache1:
type: redis
db1:
type: mysql