dockrails 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dockrails +10 -2
- data/lib/dockrails/generate.rb +4 -6
- data/lib/dockrails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62abce65400f3868165032b4ebf7b20dc0171dcc
|
4
|
+
data.tar.gz: da065ee71b31e2e63cb5b5b6729ff23b6d058bba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e54dfc2f1ff4f47bfbd11236112ab84c2d5293069f83f5de4728ce2a4bdb63e761e705bc55c2b8ffa452d56f3d29ca5e600dcf19e229654c992256f15a2447
|
7
|
+
data.tar.gz: 2792ceaf5e7dd9084ecbb92c8df46c69e084d155e53efc1a4d14297deb6cd005158cc500302b38d790063e1999cec15b621d66ebc39420de595c3994206a1e41
|
data/bin/dockrails
CHANGED
@@ -52,8 +52,16 @@ Please take a look at the different files generated:
|
|
52
52
|
- docker-compose.yml
|
53
53
|
- docker-sync.yml', GREEN%>"
|
54
54
|
|
55
|
-
say "\
|
56
|
-
|
55
|
+
say "\nUpdate your \"database.yml\" file:
|
56
|
+
development:
|
57
|
+
<<: *default
|
58
|
+
database: <%%= ENV['DB_USER'] %>
|
59
|
+
username: <%%= ENV['DB_USER'] %>
|
60
|
+
password: <%%= ENV['DB_PASSWORD'] %>
|
61
|
+
host: db"
|
62
|
+
|
63
|
+
say "\nStart your dockerized Rails Environement: dockrails start"
|
64
|
+
say "Familiarize yourself with the different commands: dockrails --help"
|
57
65
|
end
|
58
66
|
end
|
59
67
|
|
data/lib/dockrails/generate.rb
CHANGED
@@ -137,8 +137,8 @@ module Dockrails
|
|
137
137
|
f.write " build: .\n"
|
138
138
|
f.write " command: sh scripts/start-dev.sh\n"
|
139
139
|
f.write " volumes:\n"
|
140
|
-
f.write " - #{@app_path}-web-sync:/app:
|
141
|
-
f.write " - #{@app_path}-bundle-sync:/bundle:
|
140
|
+
f.write " - #{@app_path}-web-sync:/app:nocopy\n"
|
141
|
+
f.write " - #{@app_path}-bundle-sync:/bundle:nocopy\n"
|
142
142
|
f.write " - ./keys:/root/.ssh/\n"
|
143
143
|
f.write " ports:\n"
|
144
144
|
f.write " - \"3000:3000\"\n"
|
@@ -157,8 +157,8 @@ module Dockrails
|
|
157
157
|
f.write " build: .\n"
|
158
158
|
f.write " command: bundle exec sidekiq -C config/sidekiq.yml\n"
|
159
159
|
f.write " volumes:\n"
|
160
|
-
f.write " - #{@app_path}-web-sync:/app:
|
161
|
-
f.write " - #{@app_path}-bundle-sync:/bundle:
|
160
|
+
f.write " - #{@app_path}-web-sync:/app:nocopy\n"
|
161
|
+
f.write " - #{@app_path}-bundle-sync:/bundle:nocopy\n"
|
162
162
|
f.write " - ./keys:/root/.ssh/\n"
|
163
163
|
f.write " environment:\n"
|
164
164
|
f.write " REDIS_URL: redis://redis:6379\n"
|
@@ -181,10 +181,8 @@ module Dockrails
|
|
181
181
|
f.write "syncs:\n"
|
182
182
|
f.write " #{@app_path}-web-sync:\n"
|
183
183
|
f.write " src: './#{@app_path}'\n"
|
184
|
-
f.write " dest: '/app'\n"
|
185
184
|
f.write " #{@app_path}-bundle-sync:\n"
|
186
185
|
f.write " src: './bundle'\n"
|
187
|
-
f.write " dest: '/bundle'\n"
|
188
186
|
end
|
189
187
|
end
|
190
188
|
end
|
data/lib/dockrails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dockrails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Montard
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.4.0
|
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.
|
40
|
+
version: 0.4.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|