hello, i have launched supabase locally with docke...
# help
s
hello, i have launched supabase locally with docker, in a react native app i cant establish the connection, do u know why ? here is my code:
Copy code
js
const SUPABASE_KEY = "key";
const SUPABASE_URL = "http://kong:8000";

const supabase = createClient(SUPABASE_URL, SUPABASE_KEY);

export { supabase };
n
Hello @Shoki! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! 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.
s
The
SUPABASE_URL
should be
http://localhost:8000
s
yes it seems to work but now i have this error:
Copy code
js
error Object {
  "message": "Error sending confirmation mail",
  "status": 500,
}
s
Do you have a SMTP server setup?
You can use the development SMTP server which will catch all mail into
inbucket
which can be accessed at
http://localhost:9000
. But you need to start your docker image using this command instead
Copy code
sh
docker-compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml up
s
Ok thanks !
n
Thread was archived by @Shoki. Anyone can send a message to unarchive it.