Skip to content

Instantly share code, notes, and snippets.

@usmanismail
Last active November 1, 2015 20:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usmanismail/d313a76426784b07ff67 to your computer and use it in GitHub Desktop.
Save usmanismail/d313a76426784b07ff67 to your computer and use it in GitHub Desktop.
cache:
tty: true
image: memcached
stdin_open: true
WebLB:
image: rancher/load-balancer-service
ports:
- 80:80
links:
- web
tty: true
stdin_open: true
web:
tty: true
image: nginx
links:
- database
- cache
stdin_open: true
labels:
foo: 'bar'
database:
restart: 'no'
environment:
MYSQL_ROOT_PASSWORD: rootpass
tty: true
image: mysql
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment