Could someone please see my 01composer.config file below and see if there's something wrong with the migrateSeed command, as elastic beanstalk gives the error Application deployment failed at 2016-06-10T15:53:58Z with exit status 1 and error: container_command 02-migrateSeed in .ebextensions/01composer.config failed.
commands:
composer_update:
command: export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update
option_settings:
- namespace: aws:elasticbeanstalk:application:environment
option_name: COMPOSER_HOME
value: /root
container_commands:
01-install_dependencies:
command: "php /usr/bin/composer.phar install"
cwd: "/var/app/ondeck"
02-migrateSeed:
command: "php artisan migrate --force"
cwd: "/var/app/ondeck"
03-seed:
command: "php artisan db:seed --force"
cwd: "/var/app/ondeck"
04-optimize:
command: "php /usr/bin/composer.phar dump-autoload --optimize"
cwd: "/var/app/ondeck"