vagrant-docker-compose 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/example/Vagrantfile +7 -0
- data/lib/vagrant-docker-compose/config.rb +1 -1
- data/lib/vagrant-docker-compose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cfb30caa63da3bca1f00b930487582d3ca2eac2
|
4
|
+
data.tar.gz: 4dae97b7eebb989d02c62f6dc7f459455de292ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8c43fb4a51679ff160e04dc111e41e9a4ae814a6e2055dfe12bacf04eb0d6af1664eba0685f5468a27b0a1ab1467180b4d663f9487a3a0cbd51f0fbc3cf34ab
|
7
|
+
data.tar.gz: 2aadba8f55a3544f937a5d17d366eb1350e4f412983a417078add5f74e710786315266e27c09e66551f83d101eeb5dfbd1b97a9bb76bcf8c8cb95fb7059efec7
|
data/README.md
CHANGED
@@ -59,7 +59,7 @@ docker-compose -f [yml] up
|
|
59
59
|
|
60
60
|
### Other configs
|
61
61
|
|
62
|
-
* `compose_version` – defaults to `1.
|
62
|
+
* `compose_version` – defaults to `1.4.0`.
|
63
63
|
* `project_name` – compose will default to naming the project `vagrant`.
|
64
64
|
* `executable` – the location the executable will be stored, defaults to `/usr/local/bin/docker-compose`.
|
65
65
|
|
data/example/Vagrantfile
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
# -*- mode: ruby -*-
|
2
2
|
# vi: set ft=ruby :
|
3
3
|
|
4
|
+
unless Vagrant.has_plugin?("vagrant-docker-compose")
|
5
|
+
system("vagrant plugin install vagrant-docker-compose")
|
6
|
+
puts "Dependencies installed, please try the command again."
|
7
|
+
exit
|
8
|
+
end
|
9
|
+
|
4
10
|
Vagrant.configure("2") do |config|
|
5
11
|
config.vm.box = "ubuntu/trusty64"
|
6
12
|
|
7
13
|
config.vm.network(:forwarded_port, guest: 8080, host: 8080)
|
8
14
|
|
15
|
+
config.vm.provision :shell, inline: "apt-get update"
|
9
16
|
config.vm.provision :docker
|
10
17
|
config.vm.provision :docker_compose, yml: "/vagrant/docker-compose.yml", rebuild: true, project_name: "myproject", run: "always"
|
11
18
|
end
|
@@ -17,7 +17,7 @@ module VagrantPlugins
|
|
17
17
|
def finalize!
|
18
18
|
@executable = "/usr/local/bin/docker-compose" if @executable == UNSET_VALUE
|
19
19
|
@project_name = nil if @project_name == UNSET_VALUE
|
20
|
-
@compose_version = "1.
|
20
|
+
@compose_version = "1.4.0" if @compose_version == UNSET_VALUE
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-docker-compose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leigh McCulloch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Vagrant provisioner for docker compose.
|
14
14
|
email:
|