Browse Source

Sidekiq fixed

Fixes #3
pull/45/head
Martin Bober 10 months ago
parent
commit
3361410d7a
  1. 1
      Dockerfile
  2. 5
      Gemfile
  3. 16
      Gemfile.lock
  4. 2
      docker-compose.yml

1
Dockerfile

@ -4,6 +4,7 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y nodejs sqlite3 vim --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN gem install rake
ENV RAILS_ENV production
ENV RAILS_MAILER_METHOD test

5
Gemfile

@ -26,8 +26,9 @@ gem 'http_accept_language', '~> 2.1', '>= 2.1.1'
gem 'debase', '0.2.2'
gem 'ruby-debug-ide', '~> 0.6'
gem 'puma', '~> 3.11'
gem 'redis', '~> 3.3'
gem 'sidekiq', '~> 5.1'
gem 'redis', '~> 4.5', '>= 4.5.1'
gem 'listen', '~> 3.7'
gem 'sidekiq', '~> 6.3', '>= 6.3.1'
group :development do
gem 'web-console', '~> 3.5'

16
Gemfile.lock

@ -157,8 +157,6 @@ GEM
method_source (~> 1.0)
puma (3.12.6)
rack (2.2.3)
rack-protection (2.1.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.6)
@ -203,7 +201,7 @@ GEM
ffi (~> 1.0)
rdoc (4.3.0)
redcarpet (3.5.1)
redis (3.3.5)
redis (4.5.1)
ruby-debug-ide (0.7.3)
rake (>= 0.8.1)
ruby-progressbar (1.11.0)
@ -222,11 +220,10 @@ GEM
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
shellany (0.0.1)
sidekiq (5.2.9)
connection_pool (~> 2.2, >= 2.2.2)
sidekiq (6.3.1)
connection_pool (>= 2.2.2)
rack (~> 2.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.5, < 4.2)
redis (>= 4.2.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
@ -271,6 +268,7 @@ DEPENDENCIES
jbuilder (~> 2.7)
jquery-rails (~> 4.3)
jquery-ui-rails (~> 6.0)
listen (~> 3.7)
markerb
mini_backtrace (= 0.1.3)
minitest-reporters (~> 1.1)
@ -285,11 +283,11 @@ DEPENDENCIES
rails-i18n (~> 5.0.0)
rails_12factor (= 0.0.2)
redcarpet (~> 3.3)
redis (~> 3.3)
redis (~> 4.5, >= 4.5.1)
ruby-debug-ide (~> 0.6)
sass-rails (~> 5.0)
sdoc (= 0.4.0)
sidekiq (~> 5.1)
sidekiq (~> 6.3, >= 6.3.1)
uglifier (= 2.5.3)
web-console (~> 3.5)

2
docker-compose.yml

@ -138,7 +138,7 @@ services:
- mailcatcher
- redis
- dicebot
command: sidekiq -C config/sidekiq.yml.erb
command: bundle exec sidekiq
environment:
RAILS_ENV: development
RAILS_DB_HOST: development_db

Loading…
Cancel
Save