Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created September 21, 2012 15:24
Show Gist options
  • Save astrotars/3762153 to your computer and use it in GitHub Desktop.
Save astrotars/3762153 to your computer and use it in GitHub Desktop.
web1:
name: app
document_root: /public
php_version: 5.3.10
php_max_execution_time: 60
php_file_uploads: "1"
php_post_max_size: "64M"
php_upload_max_filesize: "64"
php_date_timezone: America/Denver
shared_writable_dirs:
- secure/tmp
- logs
- backups
php_extensions:
- apc
- pdo
- pdo_mysql
- mcrypt
- mbstring
- gd
- exif
- curl
- redis
cron:
- "1 * * * *" : "mysqldump -h $DB1_HOST --port=$DB1_PORT $DB1_NAME -u $DB1_USER -p$DB1_PASS > backups/db_`date +\%Y\%m-\%d`.sql"
db1:
name: bertha
type: mysql
cache1:
type: redis
worker1:
name: jerry
type: php
php_date_timezone: America/Denver
exec: "QUEUE=default php /var/www/secure/workers/worker.php"
php_version: 5.3.10
php_extensions:
- mysql
- pdo
- pdo_mysql
- mcrypt
- mbstring
- exif
- curl
- redis
worker2:
type: php
php_date_timezone: America/Denver
exec: "php /var/www/secure/workers/heartbeat.worker.php"
php_version: 5.3.10
php_extensions:
- mysql
- pdo
- pdo_mysql
- mcrypt
- mbstring
- exif
- curl
- redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment