Skip to content

Instantly share code, notes, and snippets.

@haegrr
Created December 9, 2015 13:23
Show Gist options
  • Save haegrr/9385309333893550844a to your computer and use it in GitHub Desktop.
Save haegrr/9385309333893550844a to your computer and use it in GitHub Desktop.
#cloud-config
write_files:
- path: /var/lib/rancher/conf/hello-world.yml
permissions: "0600"
owner: root
content: |
hello-world:
image: wowgroup/hello-world
restart: always
labels:
- io.rancher.os.scope=system
ports:
- "8080:8080"
rancher:
services_include:
/var/lib/rancher/conf/hello-world.yml: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment