remove all redis related
parent
5a1a4456a8
commit
c55944bb30
@ -1,7 +1,4 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'sinatra'
|
||||
gem 'haml'
|
||||
|
||||
gem 'redis'
|
||||
gem 'sidekiq'
|
||||
gem 'puma'
|
||||
|
@ -1,13 +0,0 @@
|
||||
FROM mcansky/base_ruby:2c7652fa95a2ab9419bb85e81a7c801ca6fa65d2
|
||||
|
||||
# Set environment variables.
|
||||
ENV HOME /var/app
|
||||
ENV RACK_ENV production
|
||||
|
||||
# Define working directory.
|
||||
WORKDIR /var/app
|
||||
|
||||
RUN git clone https://github.com/mcansky/sinatra_hello.git /var/app
|
||||
RUN cd /var/app; bundle install
|
||||
|
||||
CMD ["/usr/local/bin/foreman","run", "sidekiq","-d","/var/app"]
|
@ -1,8 +0,0 @@
|
||||
class TestJob
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform
|
||||
sleep 5
|
||||
MyRedis.redis.incr('blob1')
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue