Skip to content

Instantly share code, notes, and snippets.

@miry
Created April 1, 2018 14:19
Show Gist options
  • Save miry/7cc670196f369793378c10e66168dca8 to your computer and use it in GitHub Desktop.
Save miry/7cc670196f369793378c10e66168dca8 to your computer and use it in GitHub Desktop.
Heroku container deployment
{
"name": "app",
"env": {
"RACK_ENV": "staging",
"RAILS_ENV": "staging",
"ROLLBAR_ENV": "staging",
"REDIS_PROVIDER": "REDISTOGO_URL",
"RAILS_LOG_TO_STDOUT": "true",
"RAILS_SERVE_STATIC_FILES": "true",
"SECRET_KEY_BASE": {
"generator": "secret"
}
},
"formation": { },
"addons": [
"cloudinary",
"librato",
"logentries",
"mailtrap",
"memcachedcloud",
"heroku-postgresql",
"rediscloud",
"redistogo"
],
"stack": "container"
}
build:
docker:
web: Dockerfile
release:
image: web
command:
- rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment