Created
June 4, 2017 04:09
-
-
Save tylerflint/b988e86dd97778ec0cb25e78e4c43a0a to your computer and use it in GitHub Desktop.
Nanobox Rails Example
This file contains hidden or 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 | |
cache_dirs: | |
- node_modules | |
- vendor/assets/bower_components | |
- .bundle | |
- vendor/bundle | |
extra_packages: | |
- nodejs-4 | |
extra_steps: | |
- npm install | |
- node_modules/.bin/bower install | |
deploy.config: | |
before_live: | |
web.dashboard: | |
- bundle exec rake db:setup_or_migrate | |
extra_steps: | |
- bundle exec rake assets:precompile | |
web.dashboard: | |
start: bundle exec rails s | |
writable_dirs: | |
- tmp | |
- log | |
log_watch: | |
dashboard[production]: log/production.log | |
worker.sequences: | |
start: bundle exec sidekiq | |
writable_dirs: | |
- tmp | |
- log | |
data.queue: | |
image: nanobox/redis | |
data.db: | |
image: nanobox/postgresql:9.4 | |
config: | |
extensions: | |
- uuid-ossp | |
- plpgsql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment