Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WORKDIR /sinatra-sequel
ENV BUNDLE_WITH=postgresql:iodine
RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile

ENV APP_ENV=production
ENV DBTYPE=postgresql

EXPOSE 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ ENV BUNDLE_WITH=postgresql:puma
RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile

ENV WEB_CONCURRENCY=auto
ENV APP_ENV=production
ENV DBTYPE=postgresql

EXPOSE 8080

CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production
CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
3 changes: 2 additions & 1 deletion frameworks/Ruby/sinatra-sequel/sinatra-sequel.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ ENV BUNDLE_WITH=mysql:puma
RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile

ENV WEB_CONCURRENCY=auto
ENV APP_ENV=production
ENV DBTYPE=mysql

EXPOSE 8080

CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production
CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WORKDIR /sinatra
ENV BUNDLE_WITH=postgresql:iodine
RUN bundle install --jobs=4 --gemfile=/sinatra/Gemfile

ENV APP_ENV=production
ENV DBTYPE=postgresql

EXPOSE 8080
Expand Down
3 changes: 2 additions & 1 deletion frameworks/Ruby/sinatra/sinatra-postgres.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ ENV BUNDLE_WITH=postgresql:puma
RUN bundle install --jobs=4 --gemfile=/sinatra/Gemfile

ENV WEB_CONCURRENCY=auto
ENV APP_ENV=production
ENV DBTYPE=postgresql

EXPOSE 8080

CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production
CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
3 changes: 2 additions & 1 deletion frameworks/Ruby/sinatra/sinatra.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ WORKDIR /sinatra
ENV BUNDLE_WITH=mysql:puma
RUN bundle install --jobs=4 --gemfile=/sinatra/Gemfile

ENV APP_ENV=production
ENV DBTYPE=mysql

ENV WEB_CONCURRENCY=auto
EXPOSE 8080

CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production
CMD bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080
Loading