Sha256: 0f4b6a66250790d7a73b0d1267e357600b1384779f1964d5f901c82dc029f2a0

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 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.network(:forwarded_port, guest: 3333, host: 3333)

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-docker-compose-1.0.0 example/Vagrantfile
vagrant-docker-compose-0.0.10 example/Vagrantfile
vagrant-docker-compose-0.0.9 example/Vagrantfile