Skip to content

Instantly share code, notes, and snippets.

@dangra
Last active January 2, 2016 13:09
Show Gist options
  • Save dangra/8307798 to your computer and use it in GitHub Desktop.
Save dangra/8307798 to your computer and use it in GitHub Desktop.
include:
- docker
image:
docker.pulled:
- name: shipyard/shipyard
- require:
- sls: docker
container:
docker.installed:
- name: shipyard
- image: shipyard/shipyard
- started: true
- ports:
- "80/tcp"
- "8000/tcp"
- environment:
- CELERY_WORKERS: 1
- HIPACHE_WORKERS: 3
- require:
- docker: image
app:
docker.running:
- container: shipyard
- port_bindings:
"80/tcp":
HostIp: ""
HostPort: "80"
"8000/tcp":
HostIp: ""
HostPort: "8000"
- require:
- docker: container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment