Skip to content

Commit 9d6c838

Browse files
author
controlade
committed
edit Gemfile to make docker-compose up work
1 parent 338acc0 commit 9d6c838

File tree

3 files changed

+342
-7
lines changed

3 files changed

+342
-7
lines changed

Gemfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ruby '2.5.1'
1010
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
1111
gem 'rails', '~> 5.0.1'
1212
# Use Puma as the app server
13-
gem 'puma', '~> 3.0'
13+
gem 'puma'
1414
# Use SCSS for stylesheets
1515
gem 'sass-rails', '~> 5.0'
1616
# Use Uglifier as compressor for JavaScript assets
@@ -32,9 +32,9 @@ gem 'jbuilder', '~> 2.5'
3232
# gem 'bcrypt', '~> 3.1.7'
3333

3434

35-
gem 'pg', '~> 0.18.3'
36-
gem 'sidekiq', '~> 4.0.1'
37-
gem 'redis-rails', '~> 4.0.0'
35+
gem 'pg'
36+
gem 'sidekiq'
37+
gem 'redis-rails'
3838

3939
group :development, :test do
4040
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
@@ -43,11 +43,11 @@ end
4343

4444
group :development do
4545
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
46-
gem 'web-console', '>= 3.3.0'
47-
gem 'listen', '~> 3.0.5'
46+
gem 'web-console'
47+
gem 'listen'
4848
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
4949
gem 'spring'
50-
gem 'spring-watcher-listen', '~> 2.0.0'
50+
gem 'spring-watcher-listen'
5151
end
5252

5353
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.0.7.1)
5+
actionpack (= 5.0.7.1)
6+
nio4r (>= 1.2, < 3.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.0.7.1)
9+
actionpack (= 5.0.7.1)
10+
actionview (= 5.0.7.1)
11+
activejob (= 5.0.7.1)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.0.7.1)
15+
actionview (= 5.0.7.1)
16+
activesupport (= 5.0.7.1)
17+
rack (~> 2.0)
18+
rack-test (~> 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.0.7.1)
22+
activesupport (= 5.0.7.1)
23+
builder (~> 3.1)
24+
erubis (~> 2.7.0)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.0.7.1)
28+
activesupport (= 5.0.7.1)
29+
globalid (>= 0.3.6)
30+
activemodel (5.0.7.1)
31+
activesupport (= 5.0.7.1)
32+
activerecord (5.0.7.1)
33+
activemodel (= 5.0.7.1)
34+
activesupport (= 5.0.7.1)
35+
arel (~> 7.0)
36+
activesupport (5.0.7.1)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (>= 0.7, < 2)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
arel (7.1.4)
42+
bindex (0.5.0)
43+
builder (3.2.3)
44+
byebug (10.0.2)
45+
coffee-rails (4.2.2)
46+
coffee-script (>= 2.2.0)
47+
railties (>= 4.0.0)
48+
coffee-script (2.4.1)
49+
coffee-script-source
50+
execjs
51+
coffee-script-source (1.12.2)
52+
concurrent-ruby (1.1.4)
53+
connection_pool (2.2.2)
54+
crass (1.0.4)
55+
erubis (2.7.0)
56+
execjs (2.7.0)
57+
ffi (1.9.25)
58+
globalid (0.4.1)
59+
activesupport (>= 4.2.0)
60+
i18n (1.3.0)
61+
concurrent-ruby (~> 1.0)
62+
jbuilder (2.8.0)
63+
activesupport (>= 4.2.0)
64+
multi_json (>= 1.2)
65+
jquery-rails (4.3.3)
66+
rails-dom-testing (>= 1, < 3)
67+
railties (>= 4.2.0)
68+
thor (>= 0.14, < 2.0)
69+
listen (3.1.5)
70+
rb-fsevent (~> 0.9, >= 0.9.4)
71+
rb-inotify (~> 0.9, >= 0.9.7)
72+
ruby_dep (~> 1.2)
73+
loofah (2.2.3)
74+
crass (~> 1.0.2)
75+
nokogiri (>= 1.5.9)
76+
mail (2.7.1)
77+
mini_mime (>= 0.1.1)
78+
method_source (0.9.2)
79+
mini_mime (1.0.1)
80+
mini_portile2 (2.4.0)
81+
minitest (5.11.3)
82+
multi_json (1.13.1)
83+
nio4r (2.3.1)
84+
nokogiri (1.9.1)
85+
mini_portile2 (~> 2.4.0)
86+
pg (1.1.3)
87+
puma (3.12.0)
88+
rack (2.0.6)
89+
rack-protection (2.0.5)
90+
rack
91+
rack-test (0.6.3)
92+
rack (>= 1.0)
93+
rails (5.0.7.1)
94+
actioncable (= 5.0.7.1)
95+
actionmailer (= 5.0.7.1)
96+
actionpack (= 5.0.7.1)
97+
actionview (= 5.0.7.1)
98+
activejob (= 5.0.7.1)
99+
activemodel (= 5.0.7.1)
100+
activerecord (= 5.0.7.1)
101+
activesupport (= 5.0.7.1)
102+
bundler (>= 1.3.0)
103+
railties (= 5.0.7.1)
104+
sprockets-rails (>= 2.0.0)
105+
rails-dom-testing (2.0.3)
106+
activesupport (>= 4.2.0)
107+
nokogiri (>= 1.6)
108+
rails-html-sanitizer (1.0.4)
109+
loofah (~> 2.2, >= 2.2.2)
110+
railties (5.0.7.1)
111+
actionpack (= 5.0.7.1)
112+
activesupport (= 5.0.7.1)
113+
method_source
114+
rake (>= 0.8.7)
115+
thor (>= 0.18.1, < 2.0)
116+
rake (12.3.2)
117+
rb-fsevent (0.10.3)
118+
rb-inotify (0.10.0)
119+
ffi (~> 1.0)
120+
redis (4.1.0)
121+
redis-actionpack (5.0.2)
122+
actionpack (>= 4.0, < 6)
123+
redis-rack (>= 1, < 3)
124+
redis-store (>= 1.1.0, < 2)
125+
redis-activesupport (5.0.7)
126+
activesupport (>= 3, < 6)
127+
redis-store (>= 1.3, < 2)
128+
redis-rack (2.0.5)
129+
rack (>= 1.5, < 3)
130+
redis-store (>= 1.2, < 2)
131+
redis-rails (5.0.2)
132+
redis-actionpack (>= 5.0, < 6)
133+
redis-activesupport (>= 5.0, < 6)
134+
redis-store (>= 1.2, < 2)
135+
redis-store (1.6.0)
136+
redis (>= 2.2, < 5)
137+
ruby_dep (1.5.0)
138+
sass (3.7.2)
139+
sass-listen (~> 4.0.0)
140+
sass-listen (4.0.0)
141+
rb-fsevent (~> 0.9, >= 0.9.4)
142+
rb-inotify (~> 0.9, >= 0.9.7)
143+
sass-rails (5.0.7)
144+
railties (>= 4.0.0, < 6)
145+
sass (~> 3.1)
146+
sprockets (>= 2.8, < 4.0)
147+
sprockets-rails (>= 2.0, < 4.0)
148+
tilt (>= 1.1, < 3)
149+
sidekiq (5.2.3)
150+
connection_pool (~> 2.2, >= 2.2.2)
151+
rack-protection (>= 1.5.0)
152+
redis (>= 3.3.5, < 5)
153+
spring (2.0.2)
154+
activesupport (>= 4.2)
155+
spring-watcher-listen (2.0.1)
156+
listen (>= 2.7, < 4.0)
157+
spring (>= 1.2, < 3.0)
158+
sprockets (3.7.2)
159+
concurrent-ruby (~> 1.0)
160+
rack (> 1, < 3)
161+
sprockets-rails (3.2.1)
162+
actionpack (>= 4.0)
163+
activesupport (>= 4.0)
164+
sprockets (>= 3.0.0)
165+
thor (0.20.3)
166+
thread_safe (0.3.6)
167+
tilt (2.0.9)
168+
turbolinks (5.2.0)
169+
turbolinks-source (~> 5.2)
170+
turbolinks-source (5.2.0)
171+
tzinfo (1.2.5)
172+
thread_safe (~> 0.1)
173+
uglifier (4.1.20)
174+
execjs (>= 0.3.0, < 3)
175+
web-console (3.7.0)
176+
actionview (>= 5.0)
177+
activemodel (>= 5.0)
178+
bindex (>= 0.4.0)
179+
railties (>= 5.0)
180+
websocket-driver (0.6.5)
181+
websocket-extensions (>= 0.1.0)
182+
websocket-extensions (0.1.3)
183+
184+
PLATFORMS
185+
ruby
186+
187+
DEPENDENCIES
188+
byebug
189+
coffee-rails (~> 4.2)
190+
jbuilder (~> 2.5)
191+
jquery-rails
192+
listen
193+
pg
194+
puma
195+
rails (~> 5.0.1)
196+
redis-rails
197+
sass-rails (~> 5.0)
198+
sidekiq
199+
spring
200+
spring-watcher-listen
201+
turbolinks (~> 5)
202+
tzinfo-data
203+
uglifier (>= 1.3.0)
204+
web-console
205+
206+
RUBY VERSION
207+
ruby 2.5.1p57
208+
209+
BUNDLED WITH
210+
1.16.6

docker-compose-run.txt

+125
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
Attaching to drkiq_postgres_1, drkiq_redis_1, drkiq_sidekiq_1, drkiq_drkiq_1
2+
postgres_1 | The files belonging to this database system will be owned by user "postgres".
3+
postgres_1 | This user must also own the server process.
4+
postgres_1 |
5+
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
6+
postgres_1 | The default database encoding has accordingly been set to "UTF8".
7+
postgres_1 | The default text search configuration will be set to "english".
8+
postgres_1 |
9+
postgres_1 | Data page checksums are disabled.
10+
postgres_1 |
11+
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
12+
postgres_1 | creating subdirectories ... ok
13+
postgres_1 | selecting default max_connections ... 100
14+
postgres_1 | selecting default shared_buffers ... 128MB
15+
postgres_1 | selecting dynamic shared memory implementation ... posix
16+
postgres_1 | creating configuration files ... ok
17+
postgres_1 | creating template1 database in /var/lib/postgresql/data/base/1 ... ok
18+
postgres_1 | initializing pg_authid ... ok
19+
postgres_1 | initializing dependencies ... ok
20+
postgres_1 | creating system views ... ok
21+
postgres_1 | loading system objects' descriptions ... ok
22+
postgres_1 | creating collations ... ok
23+
postgres_1 | creating conversions ... ok
24+
postgres_1 | creating dictionaries ... ok
25+
postgres_1 | setting privileges on built-in objects ... ok
26+
postgres_1 | creating information schema ... ok
27+
postgres_1 | loading PL/pgSQL server-side language ... ok
28+
postgres_1 | vacuuming database template1 ... ok
29+
postgres_1 | copying template1 to template0 ... ok
30+
postgres_1 | copying template1 to postgres ... ok
31+
postgres_1 | syncing data to disk ... ok
32+
postgres_1 |
33+
postgres_1 | Success. You can now start the database server using:
34+
postgres_1 |
35+
postgres_1 |
36+
postgres_1 | WARNING: enabling "trust" authentication for local connections
37+
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
38+
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
39+
postgres_1 | postgres -D /var/lib/postgresql/data
40+
postgres_1 | or
41+
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
42+
postgres_1 |
43+
postgres_1 | waiting for server to start....LOG: database system was shut down at 2018-12-23 05:27:52 UTC
44+
postgres_1 | LOG: MultiXact member wraparound protections are now enabled
45+
postgres_1 | LOG: database system is ready to accept connections
46+
postgres_1 | LOG: autovacuum launcher started
47+
postgres_1 | done
48+
postgres_1 | server started
49+
postgres_1 | CREATE DATABASE
50+
postgres_1 |
51+
postgres_1 | CREATE ROLE
52+
postgres_1 |
53+
postgres_1 |
54+
postgres_1 | /docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
55+
postgres_1 |
56+
postgres_1 | LOG: received fast shutdown request
57+
postgres_1 | LOG: aborting any active transactions
58+
postgres_1 | LOG: autovacuum launcher shutting down
59+
postgres_1 | waiting for server to shut down....LOG: shutting down
60+
postgres_1 | LOG: database system is shut down
61+
postgres_1 | done
62+
postgres_1 | server stopped
63+
postgres_1 |
64+
postgres_1 | PostgreSQL init process complete; ready for start up.
65+
postgres_1 |
66+
postgres_1 | LOG: database system was shut down at 2018-12-23 05:27:54 UTC
67+
postgres_1 | LOG: MultiXact member wraparound protections are now enabled
68+
postgres_1 | LOG: database system is ready to accept connections
69+
postgres_1 | LOG: autovacuum launcher started
70+
redis_1 | 1:C 23 Dec 05:27:51.177 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
71+
redis_1 | _._
72+
redis_1 | _.-``__ ''-._
73+
redis_1 | _.-`` `. `_. ''-._ Redis 3.0.5 (00000000/0) 64 bit
74+
redis_1 | .-`` .-```. ```\/ _.,_ ''-._
75+
redis_1 | ( ' , .-` | `, ) Running in standalone mode
76+
redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
77+
redis_1 | | `-._ `._ / _.-' | PID: 1
78+
redis_1 | `-._ `-._ `-./ _.-' _.-'
79+
redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
80+
redis_1 | | `-._`-._ _.-'_.-' | http://redis.io
81+
redis_1 | `-._ `-._`-.__.-'_.-' _.-'
82+
redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
83+
redis_1 | | `-._`-._ _.-'_.-' |
84+
redis_1 | `-._ `-._`-.__.-'_.-' _.-'
85+
redis_1 | `-._ `-.__.-' _.-'
86+
redis_1 | `-._ _.-'
87+
redis_1 | `-.__.-'
88+
redis_1 |
89+
redis_1 | 1:M 23 Dec 05:27:51.185 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
90+
redis_1 | 1:M 23 Dec 05:27:51.185 # Server started, Redis version 3.0.5
91+
redis_1 | 1:M 23 Dec 05:27:51.185 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
92+
redis_1 | 1:M 23 Dec 05:27:51.185 * The server is now ready to accept connections on port 6379
93+
redis_1 | 1:M 24 Dec 11:29:52.370 * 1 changes in 3600 seconds. Saving...
94+
redis_1 | 1:M 24 Dec 11:29:52.371 * Background saving started by pid 10
95+
redis_1 | 10:C 24 Dec 11:29:52.383 * DB saved on disk
96+
redis_1 | 10:C 24 Dec 11:29:52.384 * RDB: 0 MB of memory used by copy-on-write
97+
redis_1 | 1:M 24 Dec 11:29:52.472 * Background saving terminated with success
98+
sidekiq_1 | 2018-12-24T11:29:51.590Z 1 TID-goggspiip INFO: Booting Sidekiq 5.2.3 with redis options {:url=>"redis://redis:6379/0", :id=>"Sidekiq-server-PID-1"}
99+
sidekiq_1 | 2018-12-24T11:29:52.237Z 1 TID-goggspiip INFO: Running in ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
100+
sidekiq_1 | 2018-12-24T11:29:52.238Z 1 TID-goggspiip INFO: See LICENSE and the LGPL-3.0 for licensing details.
101+
sidekiq_1 | 2018-12-24T11:29:52.238Z 1 TID-goggspiip INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org
102+
sidekiq_1 | 2018-12-24T11:29:52.245Z 1 TID-goggspiip INFO: Starting processing, hit Ctrl-C to stop
103+
drkiq_1 | [6] Puma starting in cluster mode...
104+
drkiq_1 | [6] * Version 3.12.0 (ruby 2.5.1-p57), codename: Llamas in Pajamas
105+
drkiq_1 | [6] * Min threads: 5, max threads: 5
106+
drkiq_1 | [6] * Environment: development
107+
drkiq_1 | [6] * Process workers: 1
108+
drkiq_1 | [6] * Preloading application
109+
drkiq_1 | bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
110+
drkiq_1 | URI::InvalidURIError: bad URI(is not URI?): tcp://0.0.0.0:0.0.0.0:8000
111+
drkiq_1 | /usr/local/lib/ruby/2.5.0/uri/rfc3986_parser.rb:67:in `split'
112+
drkiq_1 | /usr/local/lib/ruby/2.5.0/uri/rfc3986_parser.rb:73:in `parse'
113+
drkiq_1 | /usr/local/lib/ruby/2.5.0/uri/common.rb:237:in `parse'
114+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/binder.rb:89:in `block in parse'
115+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/binder.rb:88:in `each'
116+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/binder.rb:88:in `parse'
117+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/runner.rb:151:in `load_and_bind'
118+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/cluster.rb:410:in `run'
119+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/launcher.rb:184:in `run'
120+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/lib/puma/cli.rb:78:in `run'
121+
drkiq_1 | /usr/local/bundle/gems/puma-3.12.0/bin/puma:10:in `<top (required)>'
122+
drkiq_1 | /usr/local/bundle/bin/puma:23:in `load'
123+
drkiq_1 | /usr/local/bundle/bin/puma:23:in `<top (required)>'
124+
drkiq_drkiq_1 exited with code 1
125+


0 commit comments

Comments
 (0)