Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pierredavidbelanger/855cd8caff9a69d1748a766aed11cb9e to your computer and use it in GitHub Desktop.
Save pierredavidbelanger/855cd8caff9a69d1748a766aed11cb9e to your computer and use it in GitHub Desktop.
#cloud-config
write_files:
- path: /mnt/efs/this_is_just_to_make_the_dir.txt
owner: root:root
permissions: "0644"
mounts:
- ["fs-*whateverid*.efs.us-east-2.amazonaws.com:/", "/mnt/efs", "nfs4", "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2"]
rancher:
services:
rancher-server:
image: rancher/server:stable
restart: unless-stopped
ports:
- 8080:8080
volumes:
- /mnt/efs/rancher-server/var/lib/mysql:/var/lib/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment