Skip to content

Instantly share code, notes, and snippets.

@neilellis
Created May 20, 2015 11:50
Show Gist options
  • Save neilellis/0525659d7811c4a95766 to your computer and use it in GitHub Desktop.
Save neilellis/0525659d7811c4a95766 to your computer and use it in GitHub Desktop.
Example tutum stack
lb:
image: 'tutum/haproxy:latest'
links:
- brochure
- render
- server
ports:
- '80:80'
restart: always
roles:
- global
tags:
- production
- vizzbuzz
brochure:
image: 'tutum.co/neilellis/vizzbuzz-brochure:master'
environment:
- VIRTUAL_HOST=vizz.buzz
autoredeploy: true
restart: always
tags:
- production
- vizzbuzz
render:
image: 'tutum.co/neilellis/vizzbuzz-render:master'
environment:
- VIRTUAL_HOST=rezz.vizz.buzz
autoredeploy: true
restart: always
tags:
- production
- large-mem
- vizzbuzz
target_num_containers: 3
server:
image: 'tutum.co/neilellis/vizzbuzz-server:master'
autoredeploy: true
environment:
- CHARGEBEE_API_KEY=XXXX
- CHARGEBEE_SUBDOMAIN=vizzbuzz-test
- FIREBASE_API_KEY=XXX
- FIREBASE_SUBDOMAIN=vizzbuzz
- VIRTUAL_HOST=api.vizz.buzz,appz.vizz.buzz
restart: always
roles:
- global
tags:
- production
- vizzbuzz
target_num_containers: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment