-
Notifications
You must be signed in to change notification settings - Fork 2
/
boxfile.yml
43 lines (38 loc) · 1.22 KB
/
boxfile.yml
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
run.config:
# install php and associated runtimes
engine: php
# php engine configuration (php version, extensions, etc)
engine.config:
# sets the php version to 5.6
runtime: php-5.6
extensions:
- curl
- exif
- gd
- mbstring
- dom # need this for xsl to work
- xml # need this for utf8_decode
- simplexml # need this for CiteProc
- xsl
- newrelic
extra_packages:
- newrelic
deploy.config:
transform:
- sed -i -e "s:license=.*:license=\"${NEWRELIC_LICENSE}\":" -e "s:appname=.*:appname=\"${APP_NAME}\":" /data/etc/php.*/newrelic.ini
- sed -i "s:license_key=.*:license_key=\"${NEWRELIC_LICENSE}\":" /app/newrelic.cfg
web.main:
start:
php: start-php
apache: start-apache
newrelic: newrelic-daemon -f -c newrelic.cfg
# the path to a logfile you want streamed to the nanobox dashboard
log_watch:
apache[access]: /data/var/log/apache/access.log
apache[error]: /data/var/log/apache/error.log
php[error]: /data/var/log/php/php_error.log
php[fpm]: /data/var/log/php/php_fpm.log
newrelic: /data/var/log/newrelic/nrsysmond.log
# writable directory for image caching
writable_dirs:
- tmp