Sha256: fc074fce35be369d7a29094e63a09ea3c77958307adf45969bad1ade9a5105c5

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

unless Vagrant.has_plugin?("vagrant-docker-compose")
  system("vagrant plugin install vagrant-docker-compose")
  puts "Dependencies installed, please try the command again."
  exit
end

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise64"

  config.vm.network(:forwarded_port, guest: 8080, host: 8080)

  config.vm.provision :shell, inline: "apt-get update"
  config.vm.provision :docker
  config.vm.provision :docker_compose, yml: "/vagrant/docker-compose.yml", rebuild: true, project_name: "myproject", run: "always"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-docker-compose-0.0.8 example/Vagrantfile