Docker open sourced
Heroku released beta support for Docker
Docker on Heroku Generally Available
Added support for heroku.yml and review apps
https://devcenter.heroku.com/articles/container-registry-and-runtime
https://devcenter.heroku.com/articles/build-docker-images-heroku-yml
build:
docker:
web: Dockerfile
release:
image: web
command:
- bundle exec rake db:migrate
run:
web:
image: web
worker:
image: web
command:
- bundle exec sidekiq --config config/sidekiq.yml$ heroku stack:set container+ auto deploy or
$ git push heroku masterrun:
web: bundle exec rake assets:precompilerelease:
image: web
command: bundle exec rails db:migraterelease:
image: web
command:
- bundle exec rails assets:precompile
- bundle exec rails db:migratesetup:
addons:
- plan: heroku-postgresql
as: DATABASE
config:
S3_BUCKET: my-example-bucket