-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9492 from p8/roda-sequel/iodine
[ruby/roda] Add Iodine server
- Loading branch information
Showing
10 changed files
with
50 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
frameworks/Ruby/roda-sequel/roda-sequel-postgres-iodine-mri.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ruby:3.4 | ||
|
||
ADD ./ /roda-sequel | ||
WORKDIR /roda-sequel | ||
|
||
ENV RUBY_YJIT_ENABLE=1 | ||
|
||
# Use Jemalloc | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends libjemalloc2 | ||
ENV LD_PRELOAD=libjemalloc.so.2 | ||
|
||
ENV BUNDLE_FORCE_RUBY_PLATFORM=true | ||
RUN bundle config set with 'iodine' | ||
RUN bundle install --jobs=8 | ||
|
||
ENV DBTYPE=postgresql | ||
|
||
EXPOSE 8080 | ||
|
||
CMD bundle exec iodine -p 8080 |
27 changes: 0 additions & 27 deletions
27
frameworks/Ruby/roda-sequel/roda-sequel-postgres-passenger-mri.dockerfile
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters