mirror of
https://github.com/kennethreitz/12factor.git
synced 2026-06-05 23:10:17 +00:00
36 lines
694 B
Markdown
36 lines
694 B
Markdown
The Twelve Factors
|
|
==================
|
|
|
|
## 0. Repo
|
|
### One code repo, many deploys
|
|
|
|
## 1. Dependencies
|
|
### Explicit dependency declaration and isolation
|
|
|
|
## 2. Config
|
|
### Store config in the environment
|
|
|
|
## 3. Backing Services
|
|
### Treat backing services as attached resources
|
|
|
|
## 4. Build, release, run
|
|
### Separate build and run stages
|
|
|
|
## 5. Processes
|
|
### Stateless, disposable processes handle application logic
|
|
|
|
## 6. Port binding
|
|
### Services exported via port binding
|
|
|
|
## 7. Concurrency
|
|
### Scale up via the process model
|
|
|
|
## 8. Dev/prod parity
|
|
### Parity between development and production
|
|
|
|
## 9. Logs
|
|
### Logs are event streams
|
|
|
|
## 10. Admin processes
|
|
### One-off admin/management tasks
|