forked from daylerees/laravel-website-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Boxfile
36 lines (35 loc) · 822 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
global:
web1:
php_upload_max_filesize: "20M"
php_post_max_size: "20M"
name: laravelapp
shared_writable_dirs:
- /storage/cache
- /storage/database
- /storage/logs
- /storage/sessions
- /storage/views
- /storage/work
# - /public/uploads uncomment this if users store uploads
document_root: /public
php_version: 5.4.14
php_extensions:
- curl
- memcached
- imagick
- mbstring
- pdo_mysql
- mcrypt
- gd
# after_build: uncomment this you need composer
# - "curl -s https://getcomposer.org/installer | php"
# - "php composer.phar install"
before_deploy:
- "php artisan migrate:install"
- "php artisan migrate"
after_deploy:
- "rm -f storage/cache/*"
- "rm -f storage/views/*"
db1:
name: laravelapp
type: mysql