Deis Cheat Sheet

From WikiOD

Here is the cheatsheat of Deis and basic guide on how to use Deis

Deploy[edit | edit source]

deis create app-name
git push deis master
deis open

Deploy dockerfile[edit | edit source]

$ deis create app-name
$ deis pull redis:latest
  Creating build...  done, v2
# default process type is `cmd`

Config[edit | edit source]

deis config:list
deis config:set FOO=bar BAZ=foo
deis config:unset FOO
deis config:pull  # writes to .env
deis config:push  # reads from .env

Managing instances[edit | edit source]

deis logs
deis run rake db:migrate
deis ps

Custom domains[edit | edit source]

deis domains:list
deis domains:add
deis domains:remove

Limits[edit | edit source]

deis limits:set web=1G
deis limits:set web=1024 --cpu
# (`web` is a process type)

Sharing[edit | edit source]

deis perms:create otheruser

SSL[edit | edit source]

deis certs:add server.crt server.key

See: SSL