Autoku
Version control your Heroku infrastructure using YAML
Usage
npm install -g autoku
autoku help deploy
Usage: autoku [options] [command]
Commands:
deploy|d [options] <config> Deploy or update an app using the provided YAML file.
check|c <config> Validate the provided YAML file.
help display this message
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
-V, --version output the version number
autoku check my-heroku-app.yaml
autoku deploy-k $HEROKU_API_KEY my-heroku-app.yaml
YAML Configuration
Autoku supports the following configuration options:
name: my-heroku-app
region: us
maintenance: false
stack: cedar-14
configVars:
DATABASE_URL: postgres://user:pass@localhost:5432/data
REDIS_URL: redis://authstring@localhost:3456
addons:
"heroku-postgresql": "hobby-dev"
"heroku-redis": "hobby-dev"
"logentries": "le_tryit"
collaborators:
- bob@example.com
features:
- log-runtime-metrics
- http-session-affinity
formation:
web:
quantity: 1
size: hobby
worker:
quantity: 1
size: hobby
logDrains:
- https://example.com:7000
- https://example.com:7111
domains:
- example.com
- www.example.com
sni:
- certificate-chain: "-----BEGINCERTIFICATE----- ... -----ENDCERTIFICATE-----"
private-key: "-----BEGINPRIVATEKEY----- ... -----ENDPRIVATEKEY-----"
buildpacks:
- heroku/nodejs
Feel free to copy sample.yaml