I'm not in the supabase team but I've self hosted ...
# help
n
I'm not in the supabase team but I've self hosted supabase. (Almost) Everything can configured through environment variables. The Kong service has some JWT configuration that needs to be configured as well. Deno-based functions are not in the docker compose file indeed. For functions you can see https://github.com/supabase/functions-relay/blob/main/Dockerfile . This shouldn't be too hard to add to Docker-Compose and to update Kong to reroute
/functions
to this service. I'm still looking at the cli code to see how functions are deployed on Deno. I'll update here if I find more. Hopefully this helps
n
Hello @Norkin! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
i
Thanks @Norkin , its nice to get some response! Thanks for the tip about the Deno Dockerfile; it seems Supabase formed a multiarchitecture image that supports ARM as well as x86? I don't intend to update the docker-compose because I am hoping the NixOS deployment module would allow an even better deployment experience for Supabase.
n
Norkin (2022-04-06)
n
I think ARM/x86 they are both supported indeed. I'm not a fan of docker myself so I would be happy if there are some alternatives out there!
i
In case you are interested, the NixOS option would basically look like a VM which you could declaratively configure with the Nix language (basically JSON with superpowers). I'm hoping to package it in a way that exposes the key configuration options neatly, making life easy.
n
I'm not super familiar with NixOS but I think it means you would be able to self deploy supabase on fly.io (which would be a great DX). You can DM me if you have questions, or want to cooperate on this.
i
The question is if fly.io allows you to provide your own images
it seems it runs firecracker under the hood so maybe yes?