Skip to content
Closed
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
2 changes: 1 addition & 1 deletion frameworks/roda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ RUN bundle install --jobs=$(nproc)

COPY . .

EXPOSE 8080 8081
EXPOSE 8080 8081 8443

CMD ["bundle", "exec", "puma", "-C", "puma.rb"]
1 change: 0 additions & 1 deletion frameworks/roda/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,4 @@ def self.redis
end
end
end

end
4 changes: 3 additions & 1 deletion frameworks/roda/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"api-16",
"async-db",
"crud",
"static"
"static",
"baseline-h2",
"static-h2"
],
"maintainers": ["p8"]
}
1 change: 1 addition & 0 deletions frameworks/roda/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
tls_key_path = ENV.fetch('TLS_KEY', '/certs/server.key')
bind "tcp://0.0.0.0:8080"
bind "ssl://0.0.0.0:8081?cert=#{tls_cert_path}&key=#{tls_key_path}"
bind "ssl://0.0.0.0:8443?cert=#{tls_cert_path}&key=#{tls_key_path}"

preload_app!

Expand Down
Loading