Browse Source

add configs

main
Christoph Marzell 1 month ago
parent
commit
c655baf5b7
  1. 7
      Gemfile
  2. 9
      Gemfile.lock
  3. 2
      config/environments/production.rb
  4. 2
      docker-compose.yml

7
Gemfile

@ -27,7 +27,7 @@ gem "jbuilder"
# gem "bcrypt", "~> 3.1.7"
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ windows jruby ]
#gem "tzinfo-data", platforms: %i[ windows jruby ]
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false
@ -35,10 +35,7 @@ gem "bootsnap", require: false
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri windows ]
end
group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]

9
Gemfile.lock

@ -93,9 +93,6 @@ GEM
connection_pool (2.5.4)
crass (1.0.6)
date (3.5.0)
debug (1.11.0)
irb (~> 1.10)
reline (>= 0.3.8)
devise (4.9.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
@ -223,8 +220,6 @@ GEM
tsort (0.2.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2025.2)
tzinfo (>= 1.0.0)
warden (1.2.9)
rack (>= 2.0.9)
web-console (4.2.1)
@ -244,18 +239,14 @@ PLATFORMS
DEPENDENCIES
bootsnap
debug
devise
jbuilder
pg (~> 1.1)
puma (>= 5.0)
rails (~> 7.1.5, >= 7.1.5.2)
sprockets-rails
tzinfo-data
web-console
RUBY VERSION
ruby 3.0.7p220
BUNDLED WITH
2.5.23

2
config/environments/production.rb

@ -49,7 +49,7 @@ Rails.application.configure do
# config.assume_ssl = true
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true
config.force_ssl = false
# Log to STDOUT by default
config.logger = ActiveSupport::Logger.new(STDOUT)

2
docker-compose.yml

@ -31,6 +31,8 @@ services:
- db
environment:
DATABASE_URL: postgres://postgres:password@db:5432/postgres
RAILS_ENV: production
SECRET_KEY_BASE: 5e1494fafd054d854b52661265e64e50d69787e9d4495173606f36fa3e5a685bd0264a41d6e138ea430f24008d5c07bcdf2a62a69de3c1b1cc042f05721432a0
networks:
- praktikum-network
volumes:

Loading…
Cancel
Save