capistrano-docker-compose 0.1.4 → 0.1.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/lib/capistrano/docker/compose/version.rb +1 -1
- data/lib/capistrano/docker/tasks/compose.rake +3 -0
- 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: 1256939c6a2f2a0d207b0773732327c3b6b5ad68
|
4
|
+
data.tar.gz: 6effdd8fc0b450427f7dddd6eeba36a58540a96e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25d305c46e8411b4e1e9b6564f2a6b91f2ab57562ac40661fff6ffd7cdb23dd348249b6276c0c8400239297fae11fd743d707e03087a780433b1257525cf464c
|
7
|
+
data.tar.gz: 19904c112ef2426a435eda4239ada70e512c25632c7f28f81ffa2eaffa56c35c1730488beab1527d63b30e88e4043e75d4665dc5e639fc73511007497634156d
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ Create Docker Compose descriptors for each environment leaving `docker-compose.y
|
|
33
33
|
- `docker-compose-staging.yml`
|
34
34
|
- `docker-compose-production.yml`
|
35
35
|
|
36
|
-
Make Compose YAML
|
36
|
+
Make Compose YAML with `web` service using following environment variables:
|
37
37
|
|
38
38
|
- `CAP_DOCKER_COMPOSE_ROOT_PATH` for shared path
|
39
39
|
- `CAP_DOCKER_COMPOSE_PORT` for port range
|
@@ -22,6 +22,9 @@ namespace :deploy do
|
|
22
22
|
within release_path do
|
23
23
|
with cap_docker_compose_root_path: fetch(:deploy_to), cap_docker_compose_port: detect_available_port do
|
24
24
|
execute :'docker-compose', '-f', "docker-compose-#{fetch(:rails_env)}.yml", 'up', '-d'
|
25
|
+
# Give services 3s to come up
|
26
|
+
# TODO: implement flexibly into options
|
27
|
+
sleep 3
|
25
28
|
end
|
26
29
|
end
|
27
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-docker-compose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ain Tohvri
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|