Created
April 25, 2019 15:52
-
-
Save pantasio/0bb042e9a417fbc1c30344dd9824aea8 to your computer and use it in GitHub Desktop.
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
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = false | |
vb.name = "docker-example-vm" | |
vb.memory = "1024" | |
vb.cpus = 1 | |
end | |
config.vm.provision "docker" do |d| | |
d.pull_images "redis" | |
end | |
config.vm.provision "shell" do |sh| | |
sh.path = 'provisioning/install-docker-compose.sh' | |
end | |
config.vm.provision "shell" do |sh| | |
sh.inline = 'docker-compose -f /vagrant/docker/docker-compose.yml up -d --build' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment