Skip to content

Commit

Permalink
remove commented out code in the application.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Nov 16, 2023
1 parent 48a2c2a commit af78bc9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

# load ENV variables from container environment if json file exists
# see https://github.com/phusion/baseimage-docker#envvar_dumps
# env_json_file = "/etc/container_environment.json"
# if File.exist?(env_json_file)
# env_vars = JSON.parse(File.read(env_json_file))
# env_vars.each { |k, v| ENV[k] = v }
# end
env_json_file = "/etc/container_environment.json"
if File.exist?(env_json_file)
env_vars = JSON.parse(File.read(env_json_file))
env_vars.each { |k, v| ENV[k] = v }
end

# default values for some ENV variables
ENV["APPLICATION"] ||= "levriero"
Expand Down

0 comments on commit af78bc9

Please sign in to comment.