Skip to content

Commit

Permalink
Make sure the Cloud Foundry-provided CA is recognized when making TLS…
Browse files Browse the repository at this point in the history
… connections
  • Loading branch information
mogul committed Dec 8, 2024
1 parent 8dcc135 commit aa6c5e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion supabase/meta.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ resource "cloudfoundry_app" "supabase-meta" {
}
health_check_type = "http"
health_check_http_endpoint = "/"


command = <<-EOT
# Make sure the Cloud Foundry-provided CA is recognized when making TLS connections
cat /etc/cf-system-certificates/* > /usr/local/share/ca-certificates/cf-system-certificates.crt
/usr/sbin/update-ca-certificates
# Now call the expected ENTRYPOINT and CMD
cd /usr/src/app && /usr/local/bin/docker-entrypoint.sh node dist/server/server.js
EOT
environment = {
# Upstream docs: https://github.com/supabase/postgres-meta/blob/master/README.md#quickstart

Expand Down

0 comments on commit aa6c5e4

Please sign in to comment.