Show Menu
Cheatography

Nasqueron Docker PaaS Cheat Sheet by

Salt configuration for Nasqueron PaaS Docker

Pillar

app_port
nginx HTTP
host
nginx hostname (canon­ical)
aliases
nginx hostname (aliases)
 

Creden­tials

get_us­ername
username
get_pa­ssword
password
get_token
for tokens
get_cr­ede­nti­al_id
ID
{{ salt['­cre­den­tia­ls.g­et­_pa­ssw­ord']
(conta­ine­r['­cre­den­tial']) }}

PaaS Docker

image
override default image
version
override latest
{% image = salt['­paa­s_d­ock­er.g­et­_im­age']
("na­squ­ero­n/m­ysq­l", container) %}
 

Checklist

1. Add image to docker­_images pillar
2. Add service to docker­_co­nta­iners pillar
3. Create service in roles/­paa­s-d­ock­er/­con­tainers
4. Create nginx config­uration in roles/­paa­s-d­ock­er/­ngi­nx/­fil­es/­vhosts
5. If you need a wrapper, put it in roles/­paa­s-d­ock­er/­wra­ppers
6.
deploy­-co­ntainer <se­rvi­ce>
will deploy the container defined in (2)
       
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets