Skip to content

Commit

Permalink
Add link to smtp for sidekiq (#3058)
Browse files Browse the repository at this point in the history
* Add link to smtp for sidekiq

* Also for staging add link to smtp
  • Loading branch information
icarito authored Jul 12, 2018
1 parent 47df8e2 commit 828db88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ redeploy-container:
docker-compose up -d
docker-compose exec -T web bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T mailman bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T sidekiq bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T web bundle exec whenever --update-crontab
docker-compose exec -T web service cron start

Expand All @@ -28,7 +29,8 @@ deploy-container:
rm -f ./tmp/pids/server.pid
docker-compose up -d
docker-compose exec -T web bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T mailman bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T mailman bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T sidekiq bash -c "echo 172.19.0.1 smtp >> /etc/hosts"
docker-compose exec -T web bundle exec whenever --update-crontab
docker-compose exec -T web service cron start

Expand Down

0 comments on commit 828db88

Please sign in to comment.