Created
January 9, 2018 18:40
-
-
Save brandoncc/0c142d82f96e9d41ec5998322c3a1f3a 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: | |
extra_steps: | |
- "run locally" | |
- "run after app's runtime is built" | |
- "but before runtime is packaged for use" | |
- "Environment variables are not available during the build process." | |
- "No access to data services" | |
- "Code is fully writable" | |
deploy.config: | |
extra_steps: | |
- "run locally as your app is prepared and compiled for deploy" | |
- "everything is writable" | |
- "you do not have access to environment variables or data services" | |
- "file changes are only made inside the deployable package and will not change your local codebase" | |
- "recommended step for compiling assets" | |
transform: | |
- "run after your code has been deployed to your live app" | |
- "run before everything is locked down with read-only permissions and distributed into new containers/servers" | |
- "codebase is fully writable" | |
- "you have access to environment variables associated with your live app" | |
- "you *cannot* access live data components" | |
- "should primarily be used to modify config files or other environment-specific filesystem changes that use environment variables" | |
before_live: | |
web.site: | |
- "run on a new container/server before it starts accepting live requests" | |
- "unique to each component, so Nanobox needs to know on which each will run" | |
- "unique to each component, so Nanobox needs to know on which each will run" | |
worker.jobs: | |
- "..." | |
before_live_all: | |
web.site: | |
- "same as before_live hooks, but they run on all new nodes in a multi-node component" | |
- "useful when you need to modify the contents of writable directories" | |
after_live: | |
web.site: | |
- "run on a new container/server after it starts accepting live requests" | |
- "unique to each component, so Nanobox needs to know on which each will run" | |
- "In multi-node components, these only run on a single node" | |
worker.jobs: | |
- "..." | |
after_live_all: | |
web.site: | |
- "same as after_live hooks, but they run on all new nodes in a multi-node component" | |
- "useful when you need to modify the contents of writable directories" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment