Last active
July 2, 2016 20:09
-
-
Save jgensler8/1318db53b2ecaf53e45c1351d1b985c3 to your computer and use it in GitHub Desktop.
“Templating” a Deployment Process locally with Otto’s Custom app type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application { | |
name = "DockerOnCoreOS" | |
type = "custom" | |
} | |
customization { | |
dev_vagrantfile = "./coreos-vagrant/Vagrantfile" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shared_folders = {'../' => '/tmp/app'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shared_folders.each_with_index do |(host_folder, guest_folder), index| | |
config.vm.synced_folder host_folder.to_s, guest_folder.to_s, id: "core-share%02d" % index | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment