Skip to content

Commit

Permalink
add ntlm
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Jan 13, 2025
1 parent e2722b0 commit 261d8c7
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ RUN addgroup --system --gid 1000 app && \

WORKDIR /app
COPY ./entrypoint.sh /app/entrypoint.sh
COPY ./supervisord.conf /etc/supervisord.conf
COPY ./supervisord.conf /etc/supervisord.conf
COPY ./openssl.cnf /etc/ssl/openssl.cnf
COPY --from=builder --chown=app:app /usr/local/bundle/ /usr/local/bundle/
COPY --from=builder --chown=app:app /app /app

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gem "decidim-term_customizer", github: "mainio/decidim-module-term_customizer",
gem "bootsnap", "~> 1.3"
gem "health_check"
gem "puma", ">= 6.3.1"
gem "ruby-ntlm"

group :development, :test do
gem "byebug", "~> 11.0", platform: :mri
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,7 @@ GEM
rubocop-rspec (2.20.0)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
ruby-ntlm (0.0.4)
ruby-progressbar (1.13.0)
ruby-vips (2.2.2)
ffi (~> 1.12)
Expand Down Expand Up @@ -853,6 +854,7 @@ DEPENDENCIES
net-smtp (~> 0.3.1)
puma (>= 6.3.1)
rubocop-rspec (~> 2.20.0)
ruby-ntlm
sidekiq
sidekiq-cron
web-console (~> 4.2)
Expand Down
1 change: 1 addition & 0 deletions config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Load the Rails application.
require_relative "application"
require "ntlm/smtp"

# Initialize the Rails application.
Rails.application.initialize!
Loading

0 comments on commit 261d8c7

Please sign in to comment.