|
@@ -13,10 +13,12 @@ WORKDIR /sinatra-sequel
|
|
|
ENV BUNDLE_WITH=postgresql:puma
|
|
ENV BUNDLE_WITH=postgresql:puma
|
|
|
RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile
|
|
RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile
|
|
|
|
|
|
|
|
-ENV WEB_CONCURRENCY=auto
|
|
|
|
|
ENV APP_ENV=production
|
|
ENV APP_ENV=production
|
|
|
ENV DBTYPE=postgresql
|
|
ENV DBTYPE=postgresql
|
|
|
|
|
|
|
|
|
|
+ENV WEB_CONCURRENCY=auto
|
|
|
|
|
+ENV MAX_THREADS=5
|
|
|
|
|
+
|
|
|
EXPOSE 8080
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
-CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
|
|
|
|
|
|
|
+CMD bundle exec puma -C config/puma.rb -b tcp://0.0.0.0:8080
|