Set up new env for email password

This commit is contained in:
2016-01-18 16:56:00 -05:00
parent d3633643dc
commit cf38c00fe2
2 changed files with 9 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ if [ -z ${WRESTLINGDEV_DB_PORT} ]; then
exit
fi
if [ -z ${WRESTLINGDEV_EMAIL_PWD} ]; then
echo "WRESTLINGDEV_EMAIL_PWD not set"
exit
fi
if [ -z ${WRESTLINGDEV_DEVISE_SECRET_KEY} ]; then
echo "WRESTLINGDEV_DEVISE_SECRET_KEY not set"
exit

View File

@@ -44,6 +44,9 @@
- name: Set memcached servers
shell: echo export MEMCACHIER_SERVERS={{ lookup('env', 'MEMCACHIER_SERVERS') }} >> /var/www/html/prod.env
- name: Set email password
shell: echo export WRESTLINGDEV_EMAIL_PWD={{ lookup('env', 'WRESTLINGDEV_EMAIL_PWD') }} >> /var/www/html/prod.env
- name: Create and start apache docker image
shell: cd /var/www/html/ && bash rails-prod.sh wrestlingdev-web