Last active
March 2, 2018 11:23
-
-
Save schesnowitz/da5be4e64c200d082186777338d211c4 to your computer and use it in GitHub Desktop.
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
run.config: | |
engine: ruby | |
engine.config: | |
runtime: ruby-2.4 | |
extra_packages: | |
- nodejs | |
- nginx | |
- pkgconf | |
- libxml2 | |
- libxslt | |
deploy.config: | |
extra_steps: | |
- rake assets:precompile RAILS_ENV=production | |
before_live: | |
web.main: | |
- rake db:setup_or_migrate | |
data.db: | |
image: nanobox/postgresql:9.5 | |
web.main: | |
start: | |
nginx: nginx -c /app/config/nginx.conf | |
puma: bundle exec puma -C /app/config/puma.rb | |
writable_dirs: | |
- tmp | |
- db | |
- public/uploads | |
log_watch: | |
rails: 'log/production.log' | |
worker.sidekiq: | |
start: sidekiq # if your app uses mailers we need to start them up, comment out this line and use ... | |
# start: bundle exec sidekiq -q default -q mailers -C /app/config/sidekiq.rb | |
log_watch: | |
sidekiq: 'log/production.log' | |
writable_dirs: | |
- tmp | |
- log | |
data.queue: | |
image: nanobox/redis:4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment