shiplane 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shiplane/deploy/container_configuration.rb +1 -32
- data/lib/shiplane/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717b27c536b459fbc9676c52301ec0a14a8b2b5073c55523b1905221a11bf8ff
|
4
|
+
data.tar.gz: da11a400c0ce5d089f3789d71912a7b3659c5d18ff3be7ddbe9dcb0fc2d5d3fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffec7ae7cf7890f24cd4e42b0be1a213b799bca02b23d9773c97ee4622db0581e72379c9b6054c46c5049caa409345f2e36141a5655a19257b9720b234d68b29
|
7
|
+
data.tar.gz: 214127080674ca9eda30be4e55d3525e9b70b96a6ad042bee2d11c03285e23f588704c12014b3ab1cf5825c97b02e86d97c99b089e404ff0046bf669dc786883
|
@@ -7,39 +7,8 @@ module Shiplane
|
|
7
7
|
@network_alias ||= options.fetch(:alias, container_name)
|
8
8
|
end
|
9
9
|
|
10
|
-
def config_volumes
|
11
|
-
@config_volumes ||= config_volume_map.select do |config_volume|
|
12
|
-
env.fetch(:"#{config_volume[:key]}_mount", true) || env.key?(:"#{config_volume[:key]}_location")
|
13
|
-
end.map{|config_volume| "#{env.fetch(:"#{config_volume[:key]}_location", config_volume[:default])}:#{config_volume[:mount_path]}" }
|
14
|
-
end
|
15
|
-
|
16
|
-
def config_volume_map
|
17
|
-
{
|
18
|
-
proxy_config: {
|
19
|
-
key: :proxy_conf_volume,
|
20
|
-
default: "/etc/docker/nginx-proxy/proxy.conf",
|
21
|
-
mount_path: "/etc/nginx/proxy.conf",
|
22
|
-
},
|
23
|
-
conf_d_config: {
|
24
|
-
key: :conf_d_volume,
|
25
|
-
default: "/etc/docker/nginx-proxy/conf.d",
|
26
|
-
mount_path: "/etc/nginx/conf.d",
|
27
|
-
},
|
28
|
-
vhost_d_config: {
|
29
|
-
key: :vhost_d_volume,
|
30
|
-
default: "/etc/docker/nginx-proxy/vhost.d",
|
31
|
-
mount_path: "/etc/nginx/vhost.d",
|
32
|
-
},
|
33
|
-
share_config: {
|
34
|
-
key: :share_volume,
|
35
|
-
default: "/etc/docker/nginx-proxy/share",
|
36
|
-
mount_path: "/etc/nginx/share",
|
37
|
-
},
|
38
|
-
}
|
39
|
-
end
|
40
|
-
|
41
10
|
def volumes
|
42
|
-
@volumes ||= options.fetch(:volumes, [])
|
11
|
+
@volumes ||= options.fetch(:volumes, [])
|
43
12
|
end
|
44
13
|
|
45
14
|
def published_ports
|
data/lib/shiplane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shiplane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Epperson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shiplane_bootstrappers_chef
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.24
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.24
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: shiplane_deployers_capistrano_docker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
33
|
+
version: 0.2.24
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
40
|
+
version: 0.2.24
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dotenv
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|