Created
April 1, 2018 14:19
-
-
Save miry/7cc670196f369793378c10e66168dca8 to your computer and use it in GitHub Desktop.
Heroku container deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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