FeatureFuel
4

Add local CA certificates when Docker image runs

Source: supabase/supabase#20607 · opened by @Xoffio
Hi,

While working with Supabase, I ran into something that might happen to some users hosting Supabase locally.

In my setup, I needed to integrate with a local SMTP server that redirects emails to Gmail. To make this work within my internal network, I need to add a CA certificate to the services talking to my SMTP server.

In the case of hosting Supabase locally, I was able to do this by manually editing the Dockerfile of the gotrue image:



and then editing the docker-compose.yml file of supabase:



Problem solution suggestion

I suggest introducing a certs volume in Supabase where users can conveniently place their certificates. This can be accompanied by a script that runs during the Docker image startup, copying the certificates to /usr/local/share/ca-certificates/ and updating the CA certificate seamlessly.

This would simplify the process of incorporating custom certificates into the Supabase Docker image, making it more user-friendly for diverse setups.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests