I am using EC2 UserData to bootstrap the instance.
TRacking log of bootstrap execution /var/log/cloud-init-output.log
, I found that the script was stopped at :
+ docker-compose exec web python /var/www/flask/app/db_fixtures.py
the input device is not a TTY
It seems like this command it's running in interactive mode, but why ? and how to force noninteractive mode for this command (docker-compose exec) ?