forked from pyrocms/pyrocms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Boxfile
49 lines (40 loc) · 1.69 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
web1:
################################################
## GENERAL SETTINGS
################################################
shared_writable_dirs: [/system/cms/cache, /system/cms/logs, /uploads, /addons]
################################################
## WEB SPECIFIC SETTINGS
################################################
index_list: [index.php]
################################################
## After Build Hook
################################################
after_build:
# If we don't have a database config file yet then we'll copy the one from installer/assets
- "[ -f 'system/cms/config/database.php' ] || mv 'installer/assets/config/dynamic_database.php' 'system/cms/config/database.php'"
# Since we know Pagoda Box loads mod_rewrite we get rid of the index.php in the url on every install
- "sed -i \"s/'index.php'/''/g\" system/cms/config/config.php"
################################################
## After Deploy Hook
################################################
after_deploy:
# All files are in place and the database connection is ready. Run the install
- "curl -s http://${APP_NAME}.pagodabox.com/installer/index.php/quick_install"
################################################
## PHP SPECIFIC SETTINGS
################################################
php_extensions: [mysql, curl, gd, mbstring]
php_error_reporting: 'E_ALL'
php_display_errors: On
php_short_open_tag: Off
php_default_mimetype: text/html
php_date_timezone: Europe/London
php_max_execution_time: 30
php_max_input_time: 60
php_post_max_size: 25M
php_file_uploads: On
php_upload_max_filesize: 20M
php_max_file_uploads: 20
db1:
name: 'site'