-
-
Save cordoval/3473533 to your computer and use it in GitHub Desktop.
BoxFile to deploy a Symfony 2.1 app on Pagodabox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web1: | |
shared_writable_dirs: | |
- app/cache | |
- app/logs | |
- app/sessions | |
document_root: web | |
default_gateway: app.php | |
index_list: [app.php] | |
php_version: 5.3.10 | |
php_extensions: | |
- mbstring | |
- apc | |
- intl | |
- curl | |
- zip | |
- pdo_mysql | |
- xsl | |
php_session_autostart: Off | |
php_short_open_tag: Off | |
magic_quotes_gpc: Off | |
php_date_timezone: UTC | |
after_build: | |
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n" | |
- "php app/console --env=prod --no-debug assetic:dump -n" | |
before_deploy: | |
- "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:migrations:migrate -n" | |
db1: | |
type: mysql | |
# These ENV variables are used to generated app/config/parameters.yml (ignored by git) | |
# thanks to a composer hook: https://gist.github.com/ddb281f8c65d21bb6d34 | |
# Their actual values are set through the admin interface to avoid committing them | |
global: | |
env: | |
- AM__DELIVERY_ADDRESS: "null" | |
- AM__KISSMETRICS_KEY: "null" | |
- AM__GOOGLE_ANALYTICS_ACCOUNT: "null" | |
- AM__MANDRILL_KEY: "null" | |
- AM__SECRET: CHANGEME | |
- AM__DB_HOST: locahost | |
- AM__DB_PORT: "null" | |
- AM__DB_USER: "null" | |
- AM__DB_NAME: "null" | |
- AM__DB_PASSWORD: "null" | |
- AM__REQUEST_CONTEXT_HOST: "localhost" | |
- AM__REQUEST_CONTEXT_SCHEME: "https" | |
- AM__REQUEST_CONTEXT_BASE_PATH: "" | |
- AM__REQUEST_CONTEXT_BASE_URL: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment