-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathboxfile.yml
54 lines (43 loc) · 939 Bytes
/
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
44
45
46
47
48
49
50
51
52
53
54
run.config:
# install php and associated runtimes
engine: php
# php engine configuration (php version, extensions, etc)
engine.config:
# sets the php version to 7.0
runtime: php-7.0
# use nginx
webserver: nginx
# public directory
document_root: web
# index
nginx_default_gateway: app.php
# enables php extensions
extensions:
- ctype
- dom
- iconv
- mbstring
- pdo
- pdo_mysql
- session
- simplexml
- tokenizer
- xml
- zlib
#
deploy.config:
before_live:
web.main:
- php bin/console doctrine:schema:update --force
# add a MySQL database
data.db:
image: nanobox/mysql
#
web.main:
start: php-server
# add writable dirs to your web component
writable_dirs:
- var
# the path to a logfile you want streamed to the nanobox dashboard
log_watch:
symfony[error]: /app/storage/logs/symfony.log