shippy 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/shippy/compose.rb +2 -0
- data/lib/shippy/config.rb +4 -0
- data/lib/shippy/service.rb +4 -2
- data/lib/shippy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3792c6bab1abb3441290652a346d4e2f4cdb0e838261205785efb1e20330a92c
|
|
4
|
+
data.tar.gz: cb1545e302e988e5a426a5e84b1c4c7930c7080b00f56ab49f1faf843b9cc920
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c2370f51f6a8cb669217850432ad73059c4320784e1649571d6821fca59072c4a2c2d6982f3648d9381a15d1898d35f46cd9bc251c044d6293551cbda768559
|
|
7
|
+
data.tar.gz: 9a6f4e9d1d2d185b167a3d5da4cce12880d5ac7bbbf0c8d67d8054293f5f4d1ef9f259ee45ab88bc9427cd9b87fa6315641cdf94999fd025f4dc828c4f0729b9
|
data/README.md
CHANGED
|
@@ -198,7 +198,7 @@ end
|
|
|
198
198
|
|
|
199
199
|
#### 🎛 Overriding defaults
|
|
200
200
|
|
|
201
|
-
To keep your files clean, Shippy provides a `
|
|
201
|
+
To keep your files clean, Shippy provides a `use_default_options` method. Calling this automatically applies default Docker networks for Traefik access, a standard restart policy (like `unless-stopped`), and default logging limits so your drives don't fill up.
|
|
202
202
|
|
|
203
203
|
If you need fine-grained control, you can omit `use_default_options` and specify exactly what you want:
|
|
204
204
|
|
data/lib/shippy/compose.rb
CHANGED
data/lib/shippy/config.rb
CHANGED
data/lib/shippy/service.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module Shippy
|
|
2
2
|
class Service
|
|
3
3
|
ATTRIBUTES = %i[
|
|
4
|
-
build command depends_on devices entrypoint environment extra_hosts
|
|
5
|
-
image labels logging networks user ports restart volumes volumes_from
|
|
4
|
+
build command depends_on devices entrypoint environment extra_hosts group_add
|
|
5
|
+
hostname image labels logging networks user ports restart volumes volumes_from
|
|
6
6
|
working_dir security_opt
|
|
7
7
|
].freeze
|
|
8
8
|
|
|
@@ -97,6 +97,8 @@ module Shippy
|
|
|
97
97
|
|
|
98
98
|
delegate :x, to: Shippy
|
|
99
99
|
delegate :wildcard_domain, to: :x
|
|
100
|
+
delegate :deploy_path, to: :x
|
|
101
|
+
delegate :bind_volume_path, to: :x
|
|
100
102
|
|
|
101
103
|
def hooks
|
|
102
104
|
if block_given?
|
data/lib/shippy/version.rb
CHANGED