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
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ COPY --chown=rails:rails --from=build /rails /rails
# Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint"]

# Start server via Thruster by default, this can be overwritten at runtime
# Start server via Thruster, which reads $PORT from the environment (Railway
# sets this automatically). JSON form satisfies the Dockerfile linter; the
# last two args (./bin/rails server) let bin/docker-entrypoint detect a
# server start and run db:prepare before booting.
EXPOSE 80
CMD bin/rails server -b 0.0.0.0 -p ${PORT}
CMD ["./bin/thrust", "./bin/rails", "server"]
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ gem "thruster", require: false
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
gem "image_processing", "~> 1.2"

# Tito API client for event registration lookup
gem "tito_ruby"

# Postmark for transactional email in production
gem "postmark-rails"

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
Expand Down
18 changes: 18 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ GEM
erubi (1.13.1)
et-orbi (1.4.0)
tzinfo
faraday (2.14.1)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.2)
net-http (~> 0.5)
ffi (1.17.4-aarch64-linux-gnu)
ffi (1.17.4-aarch64-linux-musl)
ffi (1.17.4-arm-linux-gnu)
Expand Down Expand Up @@ -199,6 +205,8 @@ GEM
stimulus-rails
turbo-rails
msgpack (1.8.0)
net-http (0.9.1)
uri (>= 0.11.1)
net-imap (0.6.3)
date
net-protocol
Expand Down Expand Up @@ -242,6 +250,11 @@ GEM
pg (1.6.3-x86_64-darwin)
pg (1.6.3-x86_64-linux)
pg (1.6.3-x86_64-linux-musl)
postmark (1.25.1)
json
postmark-rails (0.22.1)
actionmailer (>= 3.0.0)
postmark (>= 1.21.3, < 2.0)
pp (0.6.3)
prettyprint
prettyprint (0.2.0)
Expand Down Expand Up @@ -381,6 +394,9 @@ GEM
thruster (0.1.20-x86_64-darwin)
thruster (0.1.20-x86_64-linux)
timeout (0.6.1)
tito_ruby (0.3.0)
activemodel (>= 7.1, < 9.0)
faraday (~> 2.0)
tsort (0.2.0)
turbo-rails (2.0.23)
actionpack (>= 7.1.0)
Expand Down Expand Up @@ -432,6 +448,7 @@ DEPENDENCIES
letter_opener
mission_control-jobs
pg (~> 1.1)
postmark-rails
propshaft
puma (>= 5.0)
rack-mini-profiler
Expand All @@ -443,6 +460,7 @@ DEPENDENCIES
solid_queue
stimulus-rails
thruster
tito_ruby
turbo-rails
tzinfo-data
web-console
Expand Down
Loading
Loading