Skip to content

Instantly share code, notes, and snippets.

@DennyLoko
Created February 16, 2017 18:45
Show Gist options
  • Save DennyLoko/e4b503918ec0ac9322814885d6881a7b to your computer and use it in GitHub Desktop.
Save DennyLoko/e4b503918ec0ac9322814885d6881a7b to your computer and use it in GitHub Desktop.
My CoreOS cloud-config
#cloud-config
coreos:
units:
- name: docker.service
command: start
- name: install-docker-compose.service
command: start
content: |
[Unit]
Description=Install docker-compose
[Service]
Type=oneshot
ExecStart=/usr/bin/mkdir -p /opt/bin/
ExecStart=/usr/bin/curl -o /opt/bin/docker-compose -sL "https://github.com/docker/compose/releases/download/1.11.1/run.sh"
ExecStart=/usr/bin/chmod +x /opt/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment