-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBoxfile
54 lines (48 loc) · 1.4 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
50
51
52
53
54
database1:
type: mysql
name: symfony_db
version: 5.6
web1:
name: symfony_web
type: php
version: 5.3
stability: production
httpd_document_root: web
httpd_index_list: [app.php]
network_dirs:
- app/cache
- app/cache/prod
- app/cache/prod_old
- app/logs
- app/sessions
php_extensions:
- apc
- intl
- mbstring
- xsl
- mysql
- pdo_mysql
- zip
- json
php_expose_php: "Off"
php_register_globals: "0"
php_session_autostart: "0"
php_short_open_tag: "0"
php_date_timezone: America/Los_Angeles
# php_session_save_path: "tcp://${CACHE1_HOST}:${CACHE1_PORT}"
# php_magic_quotes_gpc: "0"
build:
after_exec:
- "php app/console --env=prod --no-debug assetic:dump -n"
before_deploy:
- php ./scripts/set_pagoda_parameters.php
- "rm -rf app/cache/prod/*"
- "php app/console --env=prod --no-debug cache:clear --no-warmup"
- "php app/console --env=prod --no-debug cache:warmup"
- "php app/console --env=prod --no-debug doctrine:schema:update --force"
- "php app/console --env=prod --no-debug doctrine:fixture:load --fixtures src/VirtualPersistAPI/VirtualPersistBundle/DataFixtures/ORMSolo --append"
# - "php app/console --env=prod --no-debug doctrine:migrations:migrate -n"
global:
env:
- USE_INTL_ICU_DATA_VERSION: true
- VPA_ON_PAGODABOX: true