dory 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dory +4 -4
- data/lib/dory/config.rb +2 -2
- data/lib/dory/resolv.rb +1 -1
- data/lib/dory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 728ff696590cecbe3c4a340d55e4c7bf1ffba8d8
|
4
|
+
data.tar.gz: 3579c8d0f9270e0a57d7cf964728371ab890f14c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57821f82dbe7f75ce71bb6d8f023301a9d4f288cf6bd9513471e9d95c2ff76d12e8f80468eb5ea28b76aaa82325cb8c814d6feced4a8a5bc017b2b24392bcdeb
|
7
|
+
data.tar.gz: 5766c5e38ba39d3c05abd9fc28aa958c8aa574fbc6dfe2dedd4ab5ed82363e949524ffca8c5c9b4b688dcf34c8b7a2dc0ce1adf29906a5613c31ca7420d88f46
|
data/bin/dory
CHANGED
@@ -112,7 +112,7 @@ class DoryBin < Thor
|
|
112
112
|
puts "Error starting nginx proxy".red
|
113
113
|
end
|
114
114
|
else
|
115
|
-
puts "nginx_proxy disabled in config file".yellow
|
115
|
+
puts "nginx_proxy disabled in config file".yellow
|
116
116
|
end
|
117
117
|
|
118
118
|
if settings[:dory][:dnsmasq][:enabled]
|
@@ -123,7 +123,7 @@ class DoryBin < Thor
|
|
123
123
|
puts "Error starting dnsmasq".red
|
124
124
|
end
|
125
125
|
else
|
126
|
-
puts "dnsmasq disabled in config file".yellow
|
126
|
+
puts "dnsmasq disabled in config file".yellow
|
127
127
|
end
|
128
128
|
|
129
129
|
if settings[:dory][:resolv][:enabled]
|
@@ -134,7 +134,7 @@ class DoryBin < Thor
|
|
134
134
|
end
|
135
135
|
puts "resolv enabled in config file".green if options[:verbose]
|
136
136
|
else
|
137
|
-
puts "resolv disabled in config file".yellow
|
137
|
+
puts "resolv disabled in config file".yellow
|
138
138
|
end
|
139
139
|
end
|
140
140
|
|
@@ -158,7 +158,7 @@ class DoryBin < Thor
|
|
158
158
|
end
|
159
159
|
|
160
160
|
if Dory::Resolv.has_our_nameserver?
|
161
|
-
puts "[*] Resolv: configured with
|
161
|
+
puts "[*] Resolv: configured with #{Dory::Resolv.file_nameserver_line}".green
|
162
162
|
elsif !settings[:dory][:resolv][:enabled]
|
163
163
|
puts "[*] Resolv is disabled in config file".yellow
|
164
164
|
else
|
data/lib/dory/config.rb
CHANGED
@@ -13,13 +13,13 @@ module Dory
|
|
13
13
|
# these services. They may not talk to each other
|
14
14
|
# if you change IP Addresses.
|
15
15
|
# For example, resolv expects a nameserver listening at
|
16
|
-
# the
|
16
|
+
# the specified address. dnsmasq normally does this,
|
17
17
|
# but if you disable dnsmasq, it
|
18
18
|
# will make your system look for a name server that
|
19
19
|
# doesn't exist.
|
20
20
|
:dnsmasq:
|
21
21
|
:enabled: true
|
22
|
-
:domain: docker # domain that will be
|
22
|
+
:domain: docker # domain that will be listened for
|
23
23
|
:address: 127.0.0.1 # address returned for queries against domain
|
24
24
|
:container_name: dory_dnsmasq
|
25
25
|
:nginx_proxy:
|
data/lib/dory/resolv.rb
CHANGED
data/lib/dory/version.rb
CHANGED